Django- User Profile Management Django by Ravinder Nath Rajotiya - January 13, 2022January 20, 20220 User Profile Management In the previous tutorial Django-User Login and Logout users able to login and logout. There was no user profile when they login. We need to have a user profile. Default Django view model does not have a feature to add user profile picture, We can do it by extending the user model to add more fields, In this tutorial we’ll learn how to use Django signals to run specific functions after certain actions which can be extremely useful for this type of work. We will extend user profile and create a profile model that will have a one-to-one relationship with the user. One-to-one relationship means that one user can have one profile and one profile will be associated with
Django- Admin and Users registration Django by Ravinder Nath Rajotiya - January 9, 2022January 10, 20220 Introduction Well, one of the important part of dynamic sites is to create users so that one can have access to the database to enter data, to delete , edit or update the data, to authorize users to have an access to certain data set. Django provide an admin page by default. This can be accessed just by typing admin after the url i.e. localhost:8000/admin and you will see a page as seen below: But you can't do anything here right now. We have to first create super admin who will be responsible for the overall management and users with the roles to have access to certain pages or data. Let us first create a superuser from the command-line. Creating super user Well, If you