TemplateDoesNotExist error when running tests in django.contrib.sitemaps.tests.basic.SitemapTests

2011-02-22 Thread sajal
when running python manage.py test i get the following output :- http://pastie.org/1592973 I am using django 1.3 beta 1 (the problem also occurred in alpha) Basically it complains about a missing file: custom_sitemap.xml After investigating, i realized that all the packaged archives from http:/

Re: Multi-table inheritance child type

2008-12-16 Thread sajal
Hi Malcom, Thanks for your help. Being a noob this was the first time i used the save() method and it just rocks! Issue solved. Regards, Sajal On Dec 15, 7:04 am, Malcolm Tredinnick wrote: > On Sun, 2008-12-14 at 15:43 -0800, sajal wrote: > > when using Multi-table inheritance, how

Multi-table inheritance child type

2008-12-14 Thread sajal
when using Multi-table inheritance, how do i know what type is the child? My models :- class Node(models.Model): title = models.CharField(max_length=200) pub_date = models.DateTimeField('date published', default=datetime.datetime.today()) isfp = models.BooleanField("Show on Frontpage

Re: Injecting stuff to an existing list?

2008-11-25 Thread sajal
TED]> wrote: > On Nov 25, 8:55 am, sajal <[EMAIL PROTECTED]> wrote: > > > > > > > > > Hi all i am both a Django and python noob. > > > The thing is I have a database of people and need to show a widget on > > all pages listing out people who are c

Injecting stuff to an existing list?

2008-11-25 Thread sajal
Hi all i am both a Django and python noob. The thing is I have a database of people and need to show a widget on all pages listing out people who are celebrating their birthday today. Using them in each views didnt seem right, specially since later id like this portion of the page to be cached s

Re: "available user permissions" list incomplete

2008-11-23 Thread sajal
d by http://www.djangobook.com/en/1.0/chapter05/ Am I gonna run into trouble for this with auth or something else? On Nov 24, 12:58 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2008-11-23 at 21:47 -0800, sajal wrote: > > Apologies for the lack of details, didnt really know wh

Re: "available user permissions" list incomplete

2008-11-23 Thread sajal
all" exists and can help me out :) On Nov 24, 12:08 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2008-11-23 at 20:47 -0800, sajal wrote: > > +1 > > > Having exactly the same issue. Last night i was busy adding classes > > and stuff, after uploading to th

Re: "available user permissions" list incomplete

2008-11-23 Thread sajal
+1 Having exactly the same issue. Last night i was busy adding classes and stuff, after uploading to the dev server, im unable to add permissions to a "staff" user since the new class isint in the list. me (superuser) can see it allright. For now ill make the "staff" a superuser until i can find

order by date.day ?

2008-11-22 Thread sajal
Hi all im new to django(and python) and had to do something in a dirty way recently. would like to know if there is a more elegant solution. I have a model which has lists of people with many fields including one datetime field called date_of_birth I need to show a list of people whose birthday