To develop a Django application to store and retrieve data from a database using Object Relational Mapping(ORM).
Include your ER diagram here
Created table and inserted values to it in the django applications
Implementation of python code in README.md file
Uploading the necessary files
Pushing it to the github account
from django.db import models
# Create your models here.
from django.db import models
from django.contrib import admin
# create your models here
class hangout(models.Model):
visitorname = models.CharField(max_length=10,primary_key=True)
visitorage = models.IntegerField()
pickuplocation = models.CharField(max_length=50)
venue = models.CharField(max_length=30)
numberofperson = models.IntegerField()
class hangoutAdmin(admin.ModelAdmin):
list_display = ('visitorname','visitorage','pickuplocation','venue','numberofperson')
Include your code here
The program is successfully executed