it seems you have a problem with one of your methods, you declared it without arguments when it should receive one (self) it looks like it is on one of your models, please recheck your models.py
On Mon, Apr 4, 2016 at 11:31 PM, George Mathew <ave...@gmail.com> wrote: > Hi, > I am trying to learn Django. > > I was following the official tutorial > https://docs.djangoproject.com/en/1.9/intro/tutorial01/ > > When I entered the command "python manage.py runserver" I got the > following error. Please help. > > > *Performing system checks...* > > *Unhandled exception in thread started by <function > check_errors.<locals>.wrapper at 0x000001F60BFE2488>* > *Traceback (most recent call last):* > * File > "C:\Users\George\AppData\Local\Programs\Python\Python35\lib\site-packages\django\utils\autoreload.py", > line 226, in wrapper* > * fn(*args, **kwargs)* > * File > "C:\Users\George\AppData\Local\Programs\Python\Python35\lib\site-packages\django\core\management\commands\runserver.py", > line 116, in inner_run* > * self.check(display_num_errors=True)* > * File > "C:\Users\George\AppData\Local\Programs\Python\Python35\lib\site-packages\django\core\management\base.py", > line 426, in check* > * include_deployment_checks=include_deployment_checks,* > * File > "C:\Users\George\AppData\Local\Programs\Python\Python35\lib\site-packages\django\core\checks\registry.py", > line 75, in run_checks* > * new_errors = check(app_configs=app_configs)* > * File > "C:\Users\George\AppData\Local\Programs\Python\Python35\lib\site-packages\django\core\checks\model_checks.py", > line 14, in check_all_models* > * for model in apps.get_models():* > *TypeError: get_models() missing 1 required positional argument: 'self'* > > > -- > 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/5110083f-c5af-47e4-9903-f4ee8fbbf337%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/5110083f-c5af-47e4-9903-f4ee8fbbf337%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAFWa6tJGJ%3DY6W8yE1unkMNaAsLDcAc9oVHTy7GezQ0KU4kAshg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.