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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to