I'm trying to migrate two Classes in Django using Pycharm. The error is as 
follow

python manage.py makemigrations --name initial polls
  File "manage.py", line 16
    )from exc
        ^
SyntaxError: invalid syntax

How to solve this error?

and classes created are...

class student(models.Model):
    name=models.CharField('Student',max_length=50,primary_key=True)
    age=models.PositiveIntegerField()

class parent(models.Model):
    name=models.CharField('Parent',max_length=50)
    contact=models.IntegerField()

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/87643a85-d1f6-4265-b67f-c7bab5239140%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to