NikI,
thank you for your help. I tried

>>>p=photos.get_object(id__exact='18')

then
>>> p.gallery_id.created_id
Traceback (most recent call last):
  File "<interactive input>", line 1, in ?
AttributeError: 'long' object has no attribute 'created_id'

Where is a problem?

When I tried 
>>> p.gallery_id
I received
27L

Thank you for help
L.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to