Re: How to get vote total in poll tutorial

2006-03-31 Thread JHeasly
Ah! You're correct. I get it now. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group,

Re: Error in admin

2006-03-31 Thread Jacob Kaplan-Moss
On Mar 31, 2006, at 11:22 AM, Douglas Campos wrote: > How can I get rid of this error? > Could not import django.contrib.admin.views.main. Error was: cannot > import name isleap > > > Does anyone has a light to share? Most likely one of your models is importing a name that doesn't exist. What

Re: Using Two Combo Boxes and moving items between them

2006-03-31 Thread [EMAIL PROTECTED]
Perfect, thanks a lot Chris James Bennett wrote: > (also, once the Dojo integration stuff is finished, this effect will > be much more accessible) > > -- > "May the forces of evil become confused on the way to your house." > -- George Carlin

Re: Using Two Combo Boxes and moving items between them

2006-03-31 Thread James Bennett
(also, once the Dojo integration stuff is finished, this effect will be much more accessible) -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Using Two Combo Boxes and moving items between them

2006-03-31 Thread Joseph Kocherhans
On 3/31/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I want to create a form that has a section with two combo boxes, the > first combo box is a list of items. The user can then use buttons to > move an item from one combobox to the other. The items in the second > combobox I want to read

Using Two Combo Boxes and moving items between them

2006-03-31 Thread [EMAIL PROTECTED]
Hi, I'm currently a senior university student using Django for a web project. So far, I'm really enjoying using it, and plan on utilizing it for a few of my side projects, thanks for all the great work. :D Right now, I have a question on if something is possible, and if so, ideas on how to do

Re: What is the right order of LocaleMiddleware and CacheMiddleware?

2006-03-31 Thread Nebojsa Djordjevic
Beegee wrote: > I have build a website in three languages and I want to use caching. I > have read the documentation thouroughly. I also read the source code > repository and the django newsgroups. > > I am very confused about the order in which to put all the Middleware > classes. > > Does

Make archive_* generic views less archival

2006-03-31 Thread Luke Skibinski Holt
This is an entirely selfish post, but since date_based generic views now have the 'allow_empty' parameter, they've effectively become a convenient means of displaying any year/month/day date-based objects. Could another param be added to simply switch the check that ensures the object is lte now?

Re: complex Q bug

2006-03-31 Thread Jacob Kaplan-Moss
On Mar 31, 2006, at 10:46 AM, Don Arbow wrote: > On Mar 31, 2006, at 8:05 AM, sam wrote: >> I was trying complex Q and notices if I do: >> >> complex=(Q1 | Q2) >> >> and >> >> complex = (Q1 or Q1) >> >> the results are not the same. I got right result using "or" but not >> with "|". Is this a bug

complex Q bug

2006-03-31 Thread sam
I was trying complex Q and notices if I do: complex=(Q1 | Q2) and complex = (Q1 or Q1) the results are not the same. I got right result using "or" but not with "|". Is this a bug or I did something wrong? What is the difference between these two operators?

Re: Set WOrking directory with mod_python

2006-03-31 Thread [EMAIL PROTECTED]
You're right, of course. I defined a setting in settings.py which I now use to put together an absolute path name. That way, I only need to change this one central place when redeploying to a different location (which was what I was thinking about when going for the relative filename stuff).

Re: edit_inline on the other end of the OneToOneField

2006-03-31 Thread Michael Radziej
medhat schrieb: > Am I approaching this the correct way? or do I have to think about it > differently? I experienced the same problem during "playing around" with an idea, so I think you really hit a limitation. In the magic-removal branch, there will be subclassing a model class this way