Hi,
I have a File model with a ManyToManyField to 'self'. Which works
great, except that it's possible to add self to the parents (File 3
could add File 3 as a parent, causing an infinite relationship loop).
So i came up with a save() method which should remove self from the
parents before saving
Ah right. With RequestContext() it works. Thanks for the quick reply
guys! Much appreciated.
--~--~-~--~~~---~--~~
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@go
Hi guys,
While i've read in django-developers that MEDIA_URL should now be
accessible in templates, it doesn't seem to work for me. I'm using
django from svn, currently at revision 6568.
I've set MEDIA_URL in settings.py, TEMPLATE_CONTEXT_PROCESSORS is not
overridden in my code, and django.core.
3 matches
Mail list logo