Sunday, November 18, 2012

Re: http://lightbird.net/dbe/ ... django by example help

When you look at the web page, the code in the "Enhancing Admin" section is code that should be added to the code in the first listing. So the import statements that you need are already there.



On Sunday, November 18, 2012 7:05:54 AM UTC-8, boxcarlo wrote:
Hi,
I'm not very expert on python and django, I'm investigating now these incredible tools.
I found online http://lightbird.net/dbe/ - "Django by example", an excellent tutorial to experiment with simple apps.
I'm trying to work on the example n. 3 "Photo Organizer and Sharing App", but when I try to enter the code in the first step of the tutorial "Enhancing admin" http://lightbird.net/dbe/photo.html#enhancing-admin, my ide editor "Aptana" identifies some errors:
- Class Image (models.Model): (Error message: Undefined variable: models
- Class ImageAdmin (admin.ModelAdmin): Undefined variable: admin

I'm completely blocked. Is there anyone who can help me?

thanks

Carlo

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/4lE7WW19R0gJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate