Re: class in models.py 'not defined' exception

2008-04-28 Thread g m
THANKYOU On 4/29/08, skunkwerk <[EMAIL PROTECTED]> wrote: > > > I've been struggling with this error for the past hour. > > Error while importing URLconf 'winebago.urls': name 'AuthPermission' > is not defined > Exception Location: /usr/lib/python2.5/site-packages/django/core/ > urlresolvers.py in

Re: Session/Varibale and HttpResponseRedirect help please

2008-04-28 Thread g m
THANKYOU On 4/29/08, Brandon Taylor <[EMAIL PROTECTED]> wrote: > > > Hello everyone, > > I'm doing a redirect after a form to a "thank you" page, which I would > like to personalize with some of the data from the form. I've tried > setting a session as such: > > ### views.py code > > if form.is_va

Re: Great article about web2py

2008-04-28 Thread g m
HAI On 4/29/08, simonbun <[EMAIL PROTECTED]> wrote: > > > It's beyond me why they would classify PHP as a web framework, and on > top of that, include CakePHP in the comparison as well... Other than > that, it's hardly an independant and unbiased review, coming from the > authors of web2py themsel

Re: Great article about web2py

2008-04-28 Thread g m
HAI On 4/28/08, Milan Andric <[EMAIL PROTECTED]> wrote: > > > This is not Django specific but it is framework relevant. I thought > this was a great writeup of features for any framework. At least I am > one person who likes the features of this web2py framework. > > http://mdp.cti.depaul.edu/ex

Re: @@@HOME BASED BUSSINESS OPPERTUNITY@@@

2008-04-28 Thread g m
OK On 4/29/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > HiGuys & friends... iam shyni. > > > my website is interested here > > >see this site > > but not complesary ok . > > by friends & guys...

Re: Template variable in filter?

2008-04-28 Thread g m
HAI On 4/29/08, Mike Chambers <[EMAIL PROTECTED]> wrote: > > > Is it possible to include a template variable inside a filter? > > Specifically, I want to have a global setting for the date format string: > > Something like: > > settings.py > -- > DATE_TIME_FORMAT = "M j, F \a\t P" > > > template

Re: object.filter and accessing items

2008-04-28 Thread g m
HAI On 4/29/08, lars <[EMAIL PROTECTED]> wrote: > > > Hi all, > > I was playing around with object.filter when I noticed something funny > in my postgresql.log. > This is my query in the view: > >prev_and_current = > Article.objects.filter(id__lte=article_id).order_by('-id')[0:2] >

Re: fieldsets in form ( ticket #6630 )

2008-04-26 Thread g m
hai On 4/26/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hello Django Users, > > I'm a bit struggling with the newforms library, I'm creating multiple > forms where fieldsets need to be defined. I was looking into the > newforms documentation and didn't see anything there about widgets >