manyToManyField custom column names

2010-04-28 Thread DimebagBorgir
Hi, I'm porting an old database from an inhouse system to django and I'm just wondering if there is anything like what is defined at this URL in django 1.1.1 or upcoming versions: http://undefined.org.ua/blog/2008/02/29/manytomanywithcustomfield/?lang=en I could easily rename the fields to

Re: In URL dispatcher, is there a way to pass values of Named Groups directly to template?

2008-12-26 Thread DimebagBorgir
I hope you meant "guys", heh. On Nov 6, 3:12 am, "yuanyun.ken" wrote: > Thanks for all gays' great help. This does help me a lot. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: In URL dispatcher, is there a way to pass values of Named Groups directly to template?

2008-10-21 Thread DimebagBorgir
I'm not sure what happened to my previous reply, maybe i sent it to you directly, lol.. I'm new. but i think this is what you want: http://docs.djangoproject.com/en/dev/ref/generic-views/?from=olddocs#django-views-generic-simple-direct-to-template urlpatterns =

Re: In URL dispatcher, is there a way to pass values of Named Groups directly to template?

2008-10-21 Thread DimebagBorgir
Hey, I'm new to this group, but I believe you want generic views, specifically: django.views.generic.simple.direct_to_template http://docs.djangoproject.com/en/dev/ref/generic-views/?from=olddocs#django-views-generic-simple-direct-to-template which would give you something like this: