this is my models.py file i created and migrated but model in not created
in my admin page as database please somebody help

from django.db import models

# Create your models here.
class Company(models.Model):
    email = models.EmailField()


    def __init__():
        return self.email

-- 
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/CAMtmBS-msPj-1TNBx%3DP6YOZTZmaEhFp22%3DGa%3DHGC160w77fyEQ%40mail.gmail.com.
  • [no subject] Paras Jain
    • Re: himanshu chouhan
      • Re: himanshu chouhan
      • Re: Paras Jain

Reply via email to