Render Model in Admin Django(Part4)

Image for post
Image for post

After you create models and some field in table (don’t forget run two command: makemigrations and migrate), now you need register an user to access admin django:

Fill in some field as: username, email, password …

Next, go to admin.py file, write code:

Done, you can login and enjoy the result 😁

I will update this post in the next time, bye ✌️

Written by

Be Curious!| ☕️+✍🏼=❤️ | buihuycuong.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store