Re: Deploying for designers

2010-01-23 Thread Brian Rosner
On Jan 22, 2010, at 6:38 PM, Andrew Badr wrote: > How can I get a designer set up to be able to edit a Django project's > templates and static files with the minimum amount of effort? Django > itself is easy to get running, but a project with many external > dependencies can quickly become very h

Re: AttributeError: 'module' object has no attribute 'DatabaseError'

2010-01-23 Thread abs
Just download and untar psycopg2 package and do easy_install. P.s. setup.py build/install works incorrectly -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from

Re: ChoiceField

2010-01-23 Thread pinco
The html output generated by {{ myform.choicefieldname }} using eg a radioselect widget is the following (as a whole): First Choice Second Choice I want, for instace, be able to do this First Choice First Choice or whatever other customization the web designer want to have

Converting Django testclient code to run as black-box tests

2010-01-23 Thread Malcolm Box
Hi, I've got an existing unit test suite using the django.test.TestCase class that exercises the HTTP interface of the site, but running under Django's test harness. I'd like to turn this into a black-box test suite, using real HTTP to talk to the server remotely. Obviously some tests e.g. the a

what is this error.

2010-01-23 Thread chiranjeevi.muttoju
Hi, when i'm synchronizing the database using sync db command it giving the fallowing error.. could any one of you please help me.. Traceback (most recent call last): File "manage.py",

Re: Converting Django testclient code to run as black-box tests

2010-01-23 Thread Russell Keith-Magee
On Sat, Jan 23, 2010 at 6:40 PM, Malcolm Box wrote: > Hi, > > I've got an existing unit test suite using the django.test.TestCase class > that exercises the HTTP interface of the site, but running under Django's > test harness. > > I'd like to turn this into a black-box test suite, using real HTTP

Confusion about blocks in child templates

2010-01-23 Thread Jesaja Everling
Hello all, I'm a little confused about how the template engine handles blocks in child templates. I always thought that if you define a block in a child template that isn't defined in a template the child template extends, the block is just rendered as-is. Otherwise, you would have to define every

Re: Remove items from queryset?

2010-01-23 Thread Igor
Bill, This is excellent! The only problem is whether it would be limited "physically" by the possible maximum number of characters in an SQL query? Or, maybe to fix it it somehow makes sense to .exclude AFTER evaluation of the query? Thanks for your ideas! - Igor On Jan 22, 6:52 pm, Bill Freeman

Re: Confusion about blocks in child templates

2010-01-23 Thread Daniel Roseman
On Jan 23, 12:57 pm, Jesaja Everling wrote: > Hello all, > > I'm a little confused about how the template engine handles blocks in > child templates. > I always thought that if you define a block in a child template that > isn't defined in a template the child template extends, the block is > just

Re: what is this error.

2010-01-23 Thread Atamert Ölçgen
On Saturday 23 January 2010 13:24:44 chiranjeevi.muttoju wrote: > please reply if anybody know what it is.. > > thank you.. > It would be helpful if you send the code for the models you are trying to syncdb. -- Saygılarımla, Atamert Ölçgen -+- --+ +++ www.muhuk.com mu...@jabber.org --

Re: Confusion about blocks in child templates

2010-01-23 Thread Jesaja Everling
Hello Daniel, thanks for your quick answer. I didn't find the documentation to say this explicitly, but maybe I just overlooked the relevant section. I never used blocks that were not defined in the base template before, but now I tried to use templates from a reusable app, and was expecting them

Re: Models, forms and inlineformset

2010-01-23 Thread Stefan Nitsche
On Mon, Jan 4, 2010 at 23:27, Stefan Nitsche wrote: > Hi, > > to begin with I would like to declare that I'm still on the beginner end of > the scale when it comes to Python and Django. > > I have an app which has two models: > > class Item(models.Model): > title = models.CharField() > de

I've lost my way and need help!

2010-01-23 Thread Thomas B. Higgins
I have been developing a Django web application using the development root. It had been a while since I updated and, when I recently did (to version 1.2 alpha 1 SVN-12271) it was clear something fairly basic had gone awry. My application works fine under Version 1.1.1, but with the development root

Email field - Memory exception - object at 0xa3c9e8c

2010-01-23 Thread Bhaskar Gara
I am getting error for only emailfield remaining string fields are working fine the Error is DEBUG:root: I am new to django, I am not sure why I am getting that above error. Please help to fix the issue. model.py class Nomination(models.Model): yourname = models.CharField(max_length=30)