django nani

2011-07-31 Thread Vusal Alishov
Hello, i've problem with django-nani, in admin panel ist of objects don't shown. -- 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 d

Django admin upload image to few folders

2011-07-23 Thread Vusal Alishov
Hello, I want to upload image in django-admin interface to few folders. My models image field such: image = models.ImageField(upload_to='images') How can I do it? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: csrf token not working

2011-07-03 Thread Vusal Alishov
example : in views: def foo(request): c = {"foo": "bar"} c.update(csrf(request)) return render('test.html',c) 2011/7/3 Hervé Edorh > hi, > step 3, put "django.core.context_processors.csrf" in your > TEMPLATE_CONTEXT_PROCESSORS and if you use django 1.3 use "render()" > in place of re