Re: mod_wsgi + mod_php = segmentation fault

2010-10-03 Thread Srik
Is mod_python enabled by any chance ?. Running both mod_python & mod_wsgi can cause similar errors sometimes. On Oct 3, 3:54 pm, Олег Корсак wrote: > Hello. I'm using apache Apache/2.2.16 (Unix) + mpm_worker on my ~amd64 > Gentoo Linux box. It has mod_php enabled and all my existing php > project

Re: Installing Django

2009-03-28 Thread Srik
I hope below link helps. http://www.djangoapp.com/blog/2008/11/18/installing-django-on-windows/ On Mar 28, 7:43 pm, stars wrote: > I'm totally new at Python and Django and I'm having trouble with the > installation. I'm running windows vista and I have downloaded pyhton > 2.6. So basically, I w

Re: invalid literal for int() with base 10 trying to access uploaded image

2008-09-20 Thread Srik
Make sure you have MEDIA_URL set :) Run into similar error, setting MEDIA_URL resolved it :) On Sep 18, 1:17 pm, "silk.odyssey" <[EMAIL PROTECTED]> wrote: > I am using an imagefield from the admin interface. I can upload images > without problems but when I click the link to view the image, I ge

Re: Help with Forms (Dynamic Fields) - SOLVED

2008-07-16 Thread Srik
Solved On Jul 16, 3:39 pm, Srik <[EMAIL PROTECTED]> wrote: > Thanks Jeff. > > I also realized there is a provision to pass nested tuple like choices > to form while initalizing using field_list (Not documented but found > in django testing documents) > > http://cod

Re: Help with Forms (Dynamic Fields) - SOLVED (Request to update documentation if possible)

2008-07-16 Thread Srik
elf, cat_slug, data=None, *args, **kwargs): > forms.Form.__init__(self, data=data, *args, **kwargs) > > Also, I'm not sure if you modified your view, but you have to pass > request.POST when you instantiate the form in order for that to > actually work. > > -Jeff > &g

Re: Help with Forms (Dynamic Fields)

2008-07-16 Thread Srik
ur example), the fields wouldn't exist yet-- > move them into __init__ instead. > > Some other things to note: you don't need to "title" and "email" to > the form dynamically--might as well put them in the MyForm class > definition. Unless you're

Help with Forms (Dynamic Fields)

2008-07-15 Thread Srik
Hi Djangoers, I'm trying to generate a form dynamically using MyForm (Form class), but I'm stuck with validating or populating data. Form Class, View and template Code here: http://dpaste.com/65080/ (not too many lines I guess :) ) Good thing is I can see form (generating dynamically, based on