On Friday, 3 January 2014 03:02:30 UTC, Eddie29 wrote:
>
> Hi Guys, 
> I am really new to Django and Python. I have recently started learning 
> them from a course on Udemy and I got stuck on the first example, making a 
> web app. I'm not sure what I have done wrong but when I run my Django 
> server it comes up with a NameError. I think the app is supposed to handle 
> user data, such as first name,last name and email. 
> Thanks in advance :)
>
>
>
It would have been better to post the code in your message rather than 
attaching it - it's only a few lines.

You have an indentation error in admin.py - the `admin.site.register` line 
should be all the way to the left.
--
DR. 

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5f01fbe4-4931-4e1f-8466-ead64951da32%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to