python - How do ordinary users in django use admin to modify their own information?
过去多啦不再A梦
过去多啦不再A梦 2017-06-12 09:27:48
0
1
832

In Django, I tried to define a common user model with basic information such as name, age, etc. Through the admin background that comes with Django, administrators can modify any user's data.
But I think, how can ordinary users log in to descendants and complete the function of modifying their own data? May I ask what part of your knowledge of Django is involved in this design? Thank you.

过去多啦不再A梦
过去多啦不再A梦

reply all(1)
刘奇

Admin is a function that can only be used by administrators. If you want users to modify their information, you must implement this function yourself. You cannot think of calling admin.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!