Django Admin

Django Django MySQL Database
Learn how to create project using Django framework. Once you run the server you can enter into the admin area by using this URL.

Creating Admin userid and password

python 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 page and enter these lines
from django.contrib import admin
from .models import student 

# Register your models here.
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.
Subscribe to our YouTube Channel here


* indicates required
Subscribe to plus2net

    Post your comments , suggestion , error , requirements etc here

    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 FORUM . Contact us
    ©2000-2024 All rights reserved worldwide Privacy Policy Disclaimer