Giter VIP home page Giter VIP logo

mabrands's People

Contributors

gitudaniel avatar

Watchers

 avatar  avatar

mabrands's Issues

production.py missing brands_admin app and path to templates directory

This is what is bringing the issue in production.

In production.py brands_admin is missing from installed apps

My templates directory is not in the PYTHONPATH and thus my custom templates cannot be found.

fix
Add brands_admin to installed apps and create a path to the directory templates and add it to the DIRS section in TEMPLATES

Sort user API endpoints by owner instead of id

Current behavior
Currently the endpoints are sorted by id.
To view a product one needs to enter it's id.

Desired behavior
The admin console would need to have a presentation of all the data entered by a certain user.
This would easily be solved by having endpoints categorized by owners and displaying that on the admin console as compared to having manipulation of API data in the view

Remove default names from the API back-end

Current behavior
The API back-end still contains the default django-rest-framework names in the template.

Desired behavior
The names on the API back-end need to represent the application names and titles.

Login does not redirect user

Current behavior
Currently when a user enters their credentials and submits them on the admin console the page refreshes and goes back to the original login page.

Desired behavior
Once the user enters their credentials and submits, they should be redirected to the /brands/ page where all data from the API is presented

Enable the creation of a user to utilize the API

Current behavior
Currently to get a user who can submit GET POST and PUT requests, one has to run python manage.py create superuser.

Desired behavior
One should be able to create a user from the API backend to be able to submit data for the purposes of testing.

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.