Changing the index page

2012-01-10 Thread kalyan boga
Hi, I was working on tutorial 2 and i tried to change the layout of index page. Copied the index.html template to my template folder under admin and changed the contents to suit the site. The second line errors out : {% load i18n admin_static %} The error on the page reads : TemplateSyntaxError a

Startproject Project layout

2011-11-20 Thread kalyan
Hi, I have installed the laterst development version of django using svn. but when i try to start a project i still get the flat layout (no inner directories) and the tutorial says that happens only if i am using the old project (release). I ran into a few problems when trying to syncdb i was w

Re: Model Inheritance

2009-07-09 Thread Kalyan Lanka
As Randy Barlow said you cannot have the same column name in Document and Media. If you change the name, two tables Document and Image will be created with Media columns in Image and Document has its only Columns. Media refers to Document. Cheers, Kalyan Lanka On Thu, Jul 9, 2009 at 6:15 PM

Re: sending email from local machine

2009-07-08 Thread Kalyan Lanka
If you want to send email, you have to establish connection with email server proxy or smtp server.. add the variables in this link to settings.py http://docs.djangoproject.com/en/dev/ref/settings/#email-host Cheers, Kalyan Lanka On Thu, Jul 9, 2009 at 12:35 AM, neridaj wrote: > >

Re: sending email from local machine

2009-07-08 Thread Kalyan Lanka
The following link describes to setup local dummy email server: http://docs.djangoproject.com/en/dev/topics/email/#testing-e-mail-sending Cheers. Kalyan Lanka On Thu, Jul 9, 2009 at 12:21 AM, neri...@gmail.com wrote: > > Hello, > > I'm getting this error when trying

Re: for loop appending objects

2009-04-07 Thread kalyan
Are stuff in box, things and Person related? If yes you can join them and filter it out Cheers, Kalyan On Apr 7, 5:57 pm, thedja wrote: > Good day to you all, > > Im using > q = Person.objects.filter(pk=query) > > and i have this inside a FOR statement. So every time the loo