Wednesday, August 24, 2022

Re: How to Manage User & Create a Model

https://docs.djangoproject.com/en/4.1/topics/auth/customizing/


 read this documentation to the end it's gonna solve your problem 

Ahmed °•°

On Wed, Aug 24, 2022, 14:52 Aakash Bhaikatti <bhaiktti.aakash27@gmail.com> wrote:

As a User

  • I can signup either as LIBRARIAN and MEMBER using username and password
  • I can login using username/password and get JWT access token

As a Librarian

  • I can add, update, and remove Books from the system
  • I can add, update, view, and remove Member from the system

As a Member

  • I can view, borrow, and return available Books
  • Once a book is borrowed, its status will change to BORROWED
  • Once a book is returned, its status will change to AVAILABLE
  • I can delete my own account

As i'm a newbie. Can anyone Please help in how can I create the models of these. Thank you


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e1616bb0-8b07-46be-a6bb-a3ed3f181d79n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKt4ypCak0zowZFMTKeU%3DUt%3D5tuVXvE-mdr7vEPoYJK1Fq43Jw%40mail.gmail.com.

No comments:

Post a Comment