Django Admin doesn't show all fields from model when registered.

2012-08-16 Thread Tundebabzy
Hi guys, here's bit of my code http://dpaste.com/hold/787292/ The problem is that my Answer model in admin is missing the 'is_correct', 'date_added' and 'modified' fields.

Re: saving several models with one save() call

2011-08-24 Thread Tundebabzy
On Aug 24, 3:36 pm, Tom Evans wrote: > On Tue, Aug 23, 2011 at 11:28 PM, ernando wrote: > > Hi all, > > > maybe it's newbie question but I wasn't able to find clear answer/ > > solution on it. > > > For example, we have the following models: > > > class A(models.Model): > >    id = models.AutoF

Re: Using gedit for django development

2011-09-13 Thread Tundebabzy
I'm submit this on Hacker News On Sep 13, 1:35 am, Mario Gudelj wrote: > This is awesome dude. I was looking for something like this since I moved to > Ubuntu. > > On 13 September 2011 10:12, Micah Carrick wrote: > > > > > > > > > I've written a blog post on using gedit, the default text editor

Staticfiles on shared hosting using FCGI

2012-01-13 Thread Tundebabzy
I am stuck after running collectstatic. I don't know how to point the server to STATIC_ROOT. Can someone give assistance. -- 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 unsu

Form Wizard: wizard_form.html

2013-01-04 Thread Tundebabzy
Hi, is there any reason why there is no form tag in wizard_form.html so I can upload a fix? I tried to use the Form Wizard for the first time today and discovered that I never got past the first page after submitting. Forensic investigations showed that nothing was getting submitted because the

Please explain this django admin code

2013-01-25 Thread Tundebabzy
I'll be really grateful if someone can take the time to explain these lines of code. Its from contrib.admin.options def wrap(view): def wrapper(*args, **kwargs): return self.admin_site.admin_view(view)(*args, **kwargs) # This is the brain twisting line

django and favicon.ico

2013-08-04 Thread Tundebabzy
Hi, Is there any documentation on how django behaves during a GET /favicon.ico? In my django 1.4.5 installation with runserver, GET /favicon.ico redirects to /media/img/favicon; on OpenShift, it redirects to /media/favicon.ico. My googlefu has failed me. -- You received this message because yo

Formset:What's INITIAL_FORMS for?

2016-04-09 Thread Tundebabzy
Hello, When using formset, what's the use of the management form's INITIAL_FORMS and why is it always set as 0. Does INITIAL_FORMS need to be incremented when new forms are added? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe