Re: Problem with MySQLdb...

2012-06-08 Thread Anand Jeyahar
On 8 June 2012 20:01, J Allen wrote: > So I've been trying to get my Django instance up and running, and have > installed Django via Cygwin and have all the supposed things it needs > like MySQLdb, zlib, etc. > > When I run manage.py runserver, it dies on something needed in the > MySQLdb package

Re: django admin form customization

2012-04-03 Thread anand jeyahar
Hi al, > >     1. I have customized the admin change form to display as inline > form  a child table/model fields. Now how do i get this form to > display existing child rows too? I guess, i will have to customize the > views.py for the admin app right?? >  If so how can point django to pick up th

django admin form customization

2012-04-02 Thread anand jeyahar
Hi, Am trying to customize the django admin pages and having trouble with it. 1. I have customized the admin change form to display as inline form a child table/model fields. Now how do i get this form to display existing child rows too? I guess, i will have to customize the views.py for t

Admin form customization

2012-04-02 Thread anand jeyahar
have to customize the views.py for the admin app right?? If so how can point django to pick up the custom views.py file? I know i should use template/ for the html template files. Thanks and Regards, == Anand Jeyahar http://anandjeyahar.wordpress.com

Re: django error

2012-02-09 Thread anand jeyahar
Hi > There's no searching going on here. You create a lock instance, > passing two positional arguments, which Django interprets as the first > fields, ID and name. > > That's why you should never use positional arguments when instantiating - > always do it via keyword arguments: > lock = Lock(

django error

2012-02-09 Thread anand jeyahar
Hi, Am rather new to django and this error makes no sense to me.. Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.7/dist-packages/django/db/models/ base.py", line 460, in save self.save_base(using=using, force_insert=force_insert, force_update=force