To develop a Django application to store and retrieve data from a database using Object Relational Mapping(ORM).
Fork and Clone the Repositary in to your IDE
Create a Django project and an app and a superuser account the run the server.
Modify changes in settings and write ur code on models and admin and run the server.
Login in to admin using your Superuser account and populate the records.
from django.db import models
from django.contrib import admin
class Employee (models.Model):
emp_id=models.CharField(primary_key=True,max_length=4,help_text='Employee ID')
ename=models.CharField(max_length=50)
post=models.CharField(max_length=20)
salary=models.IntegerField()
class EmployeeAdmin(admin.ModelAdmin):
list_display=('emp_id','ename','post','salary')

