above is the image of the error admin.py from django.contrib import admin from travello.models import Destination
class ContactAdmin(admin.ModelAdmin): Clist_display = [ 'name', 'department', 'lalal'] # Register your models here. admin.site.register(Destination,ContactAdmin) models.py from django.db import models # Create your models here. class Destination(models.Model): #id : int name : models.CharField(max_length=100)#str img : models.ImageField(upload_to='pics')#str desc : models.CharField(max_length=100)#str price : models.IntegerField()#int offer : models.BooleanField(default=False)#bool When i try to use python manage.py makemigrations then in 0001_inital.py only contains id attribute. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f60acf9d-d64d-4792-a9c1-5585d40758e6%40googlegroups.com.