Sir,
now this is working...plz try this
On Sun, May 3, 2020 at 8:50 PM Nagaraju Singothu <nagarajusingothu94@gmail.com> wrote:
Sir,Please try this...............On Sun, May 3, 2020 at 8:05 PM Vikram Jaiswal <vikramkumarjaiswal221998@gmail.com> wrote:--I am not able to see the form on admin page to add the dataFirst-First-settings.py-urls.py-travello-migrations-urls.py-models.py-admin.pyhere is the models.pyfrom django.db import models# Create your models here.class Destination(models.Model):#id : intname : models.CharField(max_length=100)#strimg : models.ImageField(upload_to='pics')#strdesc : models.CharField(max_length=100)#strprice : models.IntegerField()#intoffer : models.BooleanField(default=False)#boolhere is the admin.pyfrom django.contrib import adminfrom travello.models import Destination# Register your models here.admin.site.register(Destination)Please help!
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6f1d4cad-2d83-454d-b49b-7eaaef5b0ea8%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMyGuAa3aBP8QW6DQ7hHXwVM0j0Pv_xCT73vj70Bisk9ZUU17g%40mail.gmail.com.
No comments:
Post a Comment