Code Monkey home page Code Monkey logo

notices-api's People

Contributors

shubham9411 avatar yathartha22 avatar

Watchers

 avatar  avatar

notices-api's Issues

Field confirm_password

No need to check this field in the api we will check this in front end.
Right now api is throwing an error for confirm password:
{"confirm_password":["This field is required."]}

Cleaner Codebase

Codebase should be cleaner and docstrings and comments should be included so that it becomes easier to understand for a third person.

CRUD Operations in Notices

We can currently create notices and read them. But some operations like Update and Delete are not available yet. Update and delete operation are also important if the user created wrong notice or mistyped or just wanted to delete them.

IntegrityError at /api/v1/addnotices/

I have added a notice from my id when I again added another notice then the server crashed and was giving some kind of IntegrityError. I am adding image as attachment.
screenshot from 2017-11-12 23-16-09

Bug: Sending null value for year or branch returns data

If we send null as a param in any of the api year/branch or both it returns data for others because the value is null for them.
Example: Post year:null in http://localhost:8000/api/v1/notices/year/ it will return all data for branch and all. It's a Bug that should be resolved ASAP.

Where is notice published date?

After the new pull all the published dates are disappeared from the frontend. APIs are not returning the published date of the notice. Is it a new design decision or any issue with the code?
Please check this ASAP.

JWT token in signup

After registering a user api does not send jwt token as the response. please check that

Error: This field is required

If we leave any field blank it is sending an api response like this:

{
  "password": ["This field may not be blank."],
  "username": ["This field may not be blank."]
}

can it be changed to something like:

{
  "password": ["Password field may not be blank."],
  "username": ["username field may not be blank."]
}

My question is, is it possible?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.