Re: Parsing the arguments in HTTP GET

2009-05-15 Thread Mohan Parthasarathy
On Fri, May 15, 2009 at 3:58 PM, Antoni Aloy wrote: > > 2009/5/15 MohanParthasarathy : > > > > Hi, > > > > I am very new to django. I am following along the tutorial. But I want > > to be able to parse the URL which has the following form: > > > > http://example.com/data/?ui=2&shva=1#label&name=x

Re: Parsing the arguments in HTTP GET

2009-05-15 Thread Mohan Parthasarathy
On Fri, May 15, 2009 at 4:39 PM, Tom Evans wrote: > > On Fri, 2009-05-15 at 14:56 -0700, MohanParthasarathy wrote: > > Hi, > > > > I am very new to django. I am following along the tutorial. But I want > > to be able to parse the URL which has the following form: > > > > http://example.com/data/?

List of available projects

2009-05-18 Thread Mohan Parthasarathy
Hi, Is there an official list of django projects - the code that can be reused or to start with. I have done a few tutorials but don't want to start writing everything from scratch. I googled and found a few. But wondering whether there are anything within Django site iself ? thanks mohan --~--~

prepopulated fields in admin interface

2009-05-18 Thread Mohan Parthasarathy
Hi, class CategoryAdmin(admin.ModelAdmin): prepopulated_fields = {'slug' : ('title', )} Why does the format require a comma after "title'. It is still a valid tuple without a comma, right ? Without that, I keep getting errors. Sorry, If this was a dumb question. I am parallely doing pyth

models unique_for_date

2009-05-18 Thread Mohan Parthasarathy
Hi, I can see that Models don't use the inner class to define the options, so I used class EntryAdmin(admin.ModelAdmin): prepopulated_fields = {'slug' : ('title',)} How do I use unique_for_date here ? Is there a place where all the options are listed for this new style interface ? I can

Re: prepopulated fields in admin interface

2009-05-18 Thread Mohan Parthasarathy
On Mon, May 18, 2009 at 5:24 PM, Karen Tracey wrote: > On Mon, May 18, 2009 at 6:53 PM, Mohan Parthasarathy > wrote: > >> Hi, >> >> class CategoryAdmin(admin.ModelAdmin): >> prepopulated_fields = {'slug' : ('title', )} >> >&g