Re: admin url name

2010-02-13 Thread Umapathy S
On Sat, Feb 13, 2010 at 4:43 AM, Karen Tracey <kmtra...@gmail.com> wrote: > On Fri, Feb 12, 2010 at 4:34 PM, Umapathy S <nsupa...@gmail.com> wrote: > I don't know how to get this working on the level of code you have. To do > it with 1.1 or higher, you'd want to reverse admin

admin url name

2010-02-12 Thread Umapathy S
Hello, I am looking for the admin site url name to be included as a link in a home page template. I looked at contrib/admin/sites.py AdminSite sets self.name which is then passed to # Admin-site-wide views. urlpatterns = patterns('', url(r'^$',

Re: {% url in templates

2009-10-29 Thread Umapathy S
On Thu, Oct 29, 2009 at 1:40 PM, Alex Robbins wrote: > > Maybe it is just me, but I feel like writing out the view functions > like that is a beating. I just name[1] all the urls. Then the url tag > is easy. I just do things like {% url home-page %} or {% url

Re: {% url in templates

2009-10-28 Thread Umapathy S
On Wed, Oct 28, 2009 at 8:03 PM, Gabriel . <gabriel@gmail.com> wrote: > > On Wed, Oct 28, 2009 at 4:16 PM, Umapathy S <nsupa...@gmail.com> wrote: > > view_xyz is the view function. No arguments. > > > > exps is the application. pams is project. >

Re: {% url in templates

2009-10-28 Thread Umapathy S
On Wed, Oct 28, 2009 at 7:05 PM, Gabriel . <gabriel@gmail.com> wrote: > > On Wed, Oct 28, 2009 at 3:55 PM, Umapathy S <nsupa...@gmail.com> wrote: > > > > Hello there, > > > > I am developing a page which has a left side menu. This menu is a > sep

{% url in templates

2009-10-28 Thread Umapathy S
Hello there, I am developing a page which has a left side menu. This menu is a seperate html and gets includes in the base.html template. To make it less vulnerable to url changes, I am trying to implement the {% url %} in lhsmenu.html view {% url exps.view_xyz as

Re: first newbie question

2009-01-09 Thread Umapathy S
I usually do def __unicode__(self): return "%d" % self.question_number On Fri, Jan 9, 2009 at 2:42 PM, Eric Abrahamsen wrote: > > > On Jan 9, 2009, at 10:19 PM, _Sebastian_ wrote: > > > > > Hi all, > > > > I've been following the tutorial >