Django Admin


Learn how to create project using Django framework. Once you run the server you can enter into the admin area by using this URL.
http://127.0.0.1:8000/admin/


Creating Admin userid and password

python manage.py createsuperuser
This code will ask user to enter Username , Email address, Password

After creating this we can able to login to our Admin area. Inside admin area we will try to add our student table so we can add , delete or view the records. To do this we have to register the our student table inside admin area.

Open admin.py page and enter these lines
from django.contrib import admin
from .models import student 

# Register your models here.

admin.site.register(student)
Once we login to Admin pannel we can see our students table with option to Add or Change

You can use the Add button to add the records. Similarly you can update or delete records using this interface.
Subhendu Mohapatra — author at plus2net
Subhendu Mohapatra

Author

🎥 Join me live on YouTube

Passionate about coding and teaching, I publish practical tutorials on PHP, Python, JavaScript, SQL, and web development. My goal is to make learning simple, engaging, and project‑oriented with real examples and source code.



Subscribe to our YouTube Channel here



plus2net.com







Python Video Tutorials
Python SQLite Video Tutorials
Python MySQL Video Tutorials
Python Tkinter Video Tutorials
We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles Contact us
©2000-2025   plus2net.com   All rights reserved worldwide Privacy Policy Disclaimer