Re: Django-survey fails with beta-1

2008-08-20 Thread [EMAIL PROTECTED]
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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Customizing newforms-admin -- collapsing apps?

2008-08-20 Thread [EMAIL PROTECTED]
done it and care to share how? --~--~-~--~~~---~--~~ 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, send email

Re: problem with code.djangoproject.com/wiki/CookBookNewformsAdminAndUser

2008-08-20 Thread [EMAIL PROTECTED]
On Aug 20, 9:38 pm, brentp <[EMAIL PROTECTED]> wrote: > > hi, in the latest > version:http://code.djangoproject.com/browser/django/trunk/django/contrib/adm... > the signature for save_model is: > def save_model(self, request, obj, form, change) > > th

Re: Django-survey fails with beta-1

2008-08-20 Thread [EMAIL PROTECTED]
On Aug 20, 2:58 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > If you like, you can > put it on another field in the model, just not an ImageField or > FileField. Oops. Bad advice. With newforms-admin, core isn't need

Re: Django-survey fails with beta-1

2008-08-21 Thread [EMAIL PROTECTED]
On Aug 20, 8:59 pm, rex <[EMAIL PROTECTED]> wrote: > I commented out the problematic image > code in the file that was causing the problem, and also in > forms.py, and it works. You can leave the ImageField, just remove core=True from it. That's what's throwing the error, and

Re: How to set queryset on the second step of a form wizard?

2008-08-21 Thread [EMAIL PROTECTED]
uot; group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

A little hack for collapsing apps in the admin

2008-08-21 Thread [EMAIL PROTECTED]
-~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.go

Re: How to know which fields a model contains?

2008-08-21 Thread [EMAIL PROTECTED]
On Aug 21, 2:38 pm, Alexis Bellido <[EMAIL PROTECTED]> wrote: > Hello, I'm reading the Django book and after reviewing the database > API I was wondering if there was some method to find out which fields > a model contains. If I'm understanding the question, why not just use th

Re: Text Parsing Question

2008-08-21 Thread [EMAIL PROTECTED]
send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Need a better way to send and retrieve data through third-party form

2008-08-22 Thread [EMAIL PROTECTED]
o post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

encrypted connection to remote database.

2008-08-22 Thread [EMAIL PROTECTED]
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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Sum Values in DB

2008-08-23 Thread [EMAIL PROTECTED]
://code.djangoproject.com/ticket/3566 , b) Write the manual SQL for now and switch to that onces it's committed to django proper On Aug 23, 1:44 pm, [EMAIL PROTECTED] wrote: > I have entries from the different users, they're entering the total > number of steps they walked during a particular

Re: Composite Forms? Are widgets the right thing to use?

2008-08-23 Thread [EMAIL PROTECTED]
Some sort of composite form metaclass would be cool, you can always write something like that and host it elsewhere. On Aug 23, 2:57 pm, Jon Loyens <[EMAIL PROTECTED]> wrote: > Thanks guys!  Using multiple forms + prefixes is exactly what I need! > > Would be nice if there

Form validation

2008-08-23 Thread [EMAIL PROTECTED]
}) --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this grou

Re: Form validation

2008-08-23 Thread [EMAIL PROTECTED]
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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Form validation

2008-08-23 Thread [EMAIL PROTECTED]
this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Form validation

2008-08-23 Thread [EMAIL PROTECTED]
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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Track usage

2008-08-23 Thread [EMAIL PROTECTED]
Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Form validation

2008-08-23 Thread [EMAIL PROTECTED]
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, send email to [EMAIL

Re: Sum Values in DB

2008-08-24 Thread [EMAIL PROTECTED]
That depends, if this is going to be used for single instances I would make it a method on the model, if this is going to be used for a model as a whole(or over a queryset), I would make it a method on a custom manager. On Aug 23, 6:46 pm, [EMAIL PROTECTED] wrote: > Thanks. > > So

Saving an unbound form

2008-08-24 Thread [EMAIL PROTECTED]
nks --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more o

Re: APPEND_SLASH and Apache

2008-08-24 Thread [EMAIL PROTECTED]
3 of Django. I hope this helps. --josh On Jul 28, 8:41 pm, Torsten Bronger <[EMAIL PROTECTED]> wrote: > Hallöchen! > > While APPEND_SLASH works with the Django testserver, I can't get it > working with Apache.  My httpd.conf says: > > >     PythonOption djan

Re: ANN: An unofficial companion to Practical Django Projects

2008-08-25 Thread [EMAIL PROTECTED]
gle Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Setting the value of the select box for a ModelChoiceField

2008-08-25 Thread [EMAIL PROTECTED]
or updating the form. --~--~-~--~~~---~--~~ 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, send email to [EMAIL

Optimizing Django ORM SQL queries when in a loop

2008-08-26 Thread [EMAIL PROTECTED]
"Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Control revisions of Page Content by Subversion

2008-08-26 Thread [EMAIL PROTECTED]
Perhaps this could be of use: http://code.google.com/p/django-rcsfield/ On Aug 26, 8:51 pm, "oso che bol" <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks you for your response. > > Regards, > -LN > > On Tue, Aug 26, 2008 at 4:32 PM, Rajesh Dhawan <[EMAIL P

Re: Optimizing Django ORM SQL queries when in a loop

2008-08-27 Thread [EMAIL PROTECTED]
, Mike. On Aug 26, 6:36 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Tue, 2008-08-26 at 08:05 -0700, [EMAIL PROTECTED] wrote: > > Hi guys, > > > I'm trying to optimize one of my views that is doing a rather (naive?) > > query like this: > > > ... >

Re: ImportError: cannot import name parse_lookup

2008-08-27 Thread --- [EMAIL PROTECTED] ---
~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Optimizing Django ORM SQL queries when in a loop

2008-08-27 Thread [EMAIL PROTECTED]
uot; group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

newbie question - import conflicts

2008-08-27 Thread [EMAIL PROTECTED]
this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Optimizing Django ORM SQL queries when in a loop

2008-08-28 Thread [EMAIL PROTECTED]
I'm going to give this a try. I'll let you know how I get on! Thanks guys! Mike. On Aug 27, 6:18 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > user_id_list=User.objects.filter(whatever).values_list('id', > flat=True) > posts=Post.objects.filter(user__id__i

new be Many to many relation question

2008-08-29 Thread [EMAIL PROTECTED]
Thanks a lot Manoj --~--~-~--~~~---~--~~ 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, send email to [EMAIL

Re: new be Many to many relation question

2008-08-30 Thread [EMAIL PROTECTED]
: --- AttributeErrorTraceback (most recent call last) D:\PMO\ in () AttributeError: 'ManyRelatedManager' object has no attribute 'id' On Aug 29, 4:03 pm, Daniel Roseman <[EMAIL PROTECTED]>

Django Image thumbnail and save

2008-08-31 Thread [EMAIL PROTECTED]
to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Template tag i18n failing

2008-08-31 Thread [EMAIL PROTECTED]
o this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Question related to "Writing your first Django app, part 1" tutorial.

2008-08-31 Thread [EMAIL PROTECTED]
You're getting a QuerySet back from filter, so you'll need to index the result, i.e. c[0]. On Aug 31, 5:26 am, Artemis Fowl <[EMAIL PROTECTED]> wrote: > Hello, > > I was starting out to learn Django and was trying the tutorial > presented in the website. In the part when

granularpermissions app no longer creates dbtables

2008-09-02 Thread [EMAIL PROTECTED]
--~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this grou

Re: granularpermissions app no longer creates dbtables

2008-09-02 Thread [EMAIL PROTECTED]
in granularpermission/__init__.py there is an import: line4: from models import Permission if I comment that import the dbtable is created, so I assume this is a django problem. On Sep 2, 8:30 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I've been u

ManyToMany performance..

2008-09-03 Thread [EMAIL PROTECTED]
~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: ManyToMany performance..

2008-09-03 Thread [EMAIL PROTECTED]
I tried with select_related, but it read only foreignKey and not ManyToMany relations.. The section object already has __unicode__ method.. def __unicode__(self): return u'%s - %s' % (self.id_site.domain, self.section_name) Thanks Davide On 3 Set, 15:40, krylatij <[EMAIL PROTEC

Re: ManyToMany performance..

2008-09-03 Thread [EMAIL PROTECTED]
ame = self.id_section.all()[0] return section_name in my template I have : {{ story.get_main_section }} ..sorry.. Davide On 3 Set, 16:36, krylatij <[EMAIL PROTECTED]> wrote: > it seems you need extra select anyway > or use .extra(...) to add additional args to d

Re: ManyToMany performance..

2008-09-04 Thread [EMAIL PROTECTED]
ubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Django 1.0 GIS Module (aka GeoDjango) and MySQL

2008-09-08 Thread [EMAIL PROTECTED]
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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Problm using FileField with inline formsets (inlineformset_factory)

2008-09-10 Thread [EMAIL PROTECTED]
up, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Problm using FileField with inline formsets (inlineformset_factory)

2008-09-10 Thread [EMAIL PROTECTED]
Hoorah, i ike it when the answer is me being stupid. Much easier to fix Thank you On Sep 10, 10:46 am, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Sep 10, 9:50 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > > > Hi > > > I'm h

background process management & monitoring? like God, but python

2008-09-10 Thread [EMAIL PROTECTED]
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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Django questions

2008-09-10 Thread [EMAIL PROTECTED]
Sure, nothing in django forces you to use it's template language(or any other template language), however that's generally advised against just because it leads to bad practices like mixing presentation and business logic. On Sep 10, 1:08 pm, Krommenaas <[EMAIL PROTECTED]> wrote:

New Comments: Bad Magic Number Error

2008-09-10 Thread [EMAIL PROTECTED]
self._urlconf_module = __import__(self.urlconf_name, {}, {}, ['']) Exception Type: ImportError at /admin/page/content/ Exception Value: Bad magic number in /opt/local/lib/python2.5/site- packages/django/contrib/comments/urls/__init__.pyc --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: New Comments: Bad Magic Number Error

2008-09-10 Thread [EMAIL PROTECTED]
That seems to have done it. I need to test in a couple other spots. Can you let me know HOW you knew to check the .pyc files? What did I miss? Lemme know. On Sep 10, 10:52 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Wed, Sep 10, 2008 at 1:51 PM, Scott Moonen <[E

url module error after upgrade

2008-09-10 Thread [EMAIL PROTECTED]
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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

New django 1.0 website: www.astronomy2009.org

2008-09-11 Thread [EMAIL PROTECTED]
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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: New Comments: Bad Magic Number Error

2008-09-11 Thread [EMAIL PROTECTED]
Wow, Thanks everyone!!! These are really helpful tips! Dave On Sep 11, 1:42 am, Dave <[EMAIL PROTECTED]> wrote: > On Sep 11, 9:15 am, Benjamin Buch <[EMAIL PROTECTED]> wrote: > > > > > find /path/to/the/directory/ -type f -name "*.pyc" -exec rm -f {} \;

Design question: Persistent / non-transactional process & django

2008-09-11 Thread [EMAIL PROTECTED]
groups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

troubles with mod_python on Leopard

2008-09-11 Thread [EMAIL PROTECTED]
~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at htt

Re: Using unique on a field

2008-09-11 Thread [EMAIL PROTECTED]
If you use a model form it will also be validated. On Sep 11, 9:41 pm, "Chris Stromberger" <[EMAIL PROTECTED]> wrote: > Curious about using "unique" in a column definition of a model for a legacy > db.  My assumption is that "unique" only comes into play

Re: autofill user

2008-09-12 Thread [EMAIL PROTECTED]
On Sep 11, 11:11 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2008-09-11 at 22:16 +0200, Stephan Hoyer wrote: > > Hi All > > > i want to store the add and changetime an user to some models, therefor > > i created a abstract class to inheri

Re: Random NoReverseMatch

2008-09-12 Thread [EMAIL PROTECTED]
I had this problem as well. I switched to lighttpd + fast_cgi and haven't had the problem since. On 28 Aug, 11:48, tonemcd <[EMAIL PROTECTED]> wrote: > I've just come across this ticket,http://code.djangoproject.com/ticket/8221, > which has a patch attached. I've just appli

3 models need to access 1 model

2008-09-13 Thread [EMAIL PROTECTED]
jango users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: 3 models need to access 1 model

2008-09-13 Thread [EMAIL PROTECTED]
users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: 3 models need to access 1 model

2008-09-13 Thread [EMAIL PROTECTED]
ecause 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: 3 models need to access 1 model

2008-09-14 Thread [EMAIL PROTECTED]
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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Wingide-101

2008-09-15 Thread [EMAIL PROTECTED]
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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Introducing django-cms

2008-09-15 Thread [EMAIL PROTECTED]
e pipeline. As we are a small team at the moment, we enjoy if some proposals and contributions are made from anybody out there. Stay tuned... Maik On 9 Sep., 21:31, "Antoni Aloy" <[EMAIL PROTECTED]> wrote: > 2008/9/8 Thomas Steinacher <[EMAIL PROTECTED]> > > Hi Thomas

Re: per-request cache

2008-09-15 Thread [EMAIL PROTECTED]
On Sep 15, 9:11 am, pihentagy <[EMAIL PROTECTED]> wrote: > Also for consistency and for performance reasons, is it possible to > somehow return the same QuerySet for both items, _which are in the > same request_? > > thanks > Gergo I would suggest looking at the templat

Admin interface customisation

2008-09-16 Thread [EMAIL PROTECTED]
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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Admin interface troubles

2008-09-16 Thread [EMAIL PROTECTED]
roup, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

delete foreign cookie - version 0.95

2008-09-17 Thread [EMAIL PROTECTED]
p. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Localizing url patterns

2008-09-17 Thread [EMAIL PROTECTED]
send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: FileSystemStorage preventing large file uploads

2008-09-17 Thread [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Python/Django Developer

2008-09-18 Thread [EMAIL PROTECTED]
I'm working with a company helping them develop their Django based software. We're looking for a couple of good django/python developers. Developers can telecommute, and the team is great. If you are interested, email [EMAIL PROTECTED] -- CatalyzeMe is an early-stage

Re: Please help optimize a query in Django 1.0

2008-09-18 Thread [EMAIL PROTECTED]
What you can do is import django.db.connection.cursor (I think that's the right location), and just execute the raw SQL. Also, aggregation support will be coming to django soon! On Sep 18, 7:28 pm, Egon Esser <[EMAIL PROTECTED]> wrote: > Hi all, > > I stole some code from this

How to show formset in template?

2008-09-19 Thread [EMAIL PROTECTED]
users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: How to show formset in template?

2008-09-19 Thread [EMAIL PROTECTED]
to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: How to show formset in template?

2008-09-19 Thread [EMAIL PROTECTED]
p, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Xserver crashed

2008-09-20 Thread [EMAIL PROTECTED]
Martin --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED

How can i custom the django form errors message ?

2008-09-21 Thread [EMAIL PROTECTED]
ecause 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: How can i custom the django form errors message ?

2008-09-21 Thread [EMAIL PROTECTED]
Well, I have found it username = forms.CharField(max_length=15, required=True, error_messages={'requied': 'Your username can't be empty'}) On Sep 21, 1:29 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > now the django form errors is like that : > > {{ form.userna

Django -- very very basic query !

2008-09-21 Thread [EMAIL PROTECTED]
--~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more opti

Admin field custom validation

2008-09-21 Thread [EMAIL PROTECTED]
nk you --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED]

Re: Admin field custom validation

2008-09-21 Thread [EMAIL PROTECTED]
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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Admin field custom validation

2008-09-21 Thread [EMAIL PROTECTED]
send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Admin field custom validation

2008-09-21 Thread [EMAIL PROTECTED]
? --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more opti

Re: Django 1.0 - Form documentation

2008-09-21 Thread [EMAIL PROTECTED]
groups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: ModelChoiceField with Unique Results

2008-09-22 Thread [EMAIL PROTECTED]
in \ Vehicle.objects.all().order_by('-year')]) class Meta: model = Vehicle On Sep 22, 8:17 pm, BobZ <[EMAIL PROTECTED]> wrote: > What I'm trying to do seems relatively simple, but I have yet to find > a proper solution for it. > > I'm trying to query a list of yea

Re: ModelChoiceField with Unique Results

2008-09-22 Thread [EMAIL PROTECTED]
in \ Vehicle.objects.all().order_by('-year')]) class Meta: model = Vehicle On Sep 22, 8:17 pm, BobZ <[EMAIL PROTECTED]> wrote: > What I'm trying to do seems relatively simple, but I have yet to find > a proper solution for it. > > I'm trying to query a list of yea

Dictionary Issue in Django Template (Beginner)

2008-09-22 Thread [EMAIL PROTECTED]
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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

geodjango apache vs lighttpd

2008-09-23 Thread [EMAIL PROTECTED]
no problems... --~--~-~--~~~---~--~~ 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, send email to [EMAIL

Re: Pre-empting Fixture execution in Django with nosetests.

2008-09-24 Thread [EMAIL PROTECTED]
my monkey-patch can happen prior to the fixture load. Not a general solution but works for now. On Sep 23, 7:55 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > The solution here is easy - write your own custom test runner. The > default Django test runner monkeypa

Anti-spam suggestions (strange case)

2008-09-24 Thread [EMAIL PROTECTED]
this: City: bbaOWiatlF and email: [EMAIL PROTECTED] Does anyone have any suggestions on how to weed these goons out? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

pyRTF and unicode

2008-09-24 Thread [EMAIL PROTECTED]
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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

unexpected keyword argument 'force_insert'

2008-09-24 Thread [EMAIL PROTECTED]
groups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: unexpected keyword argument 'force_insert'

2008-09-24 Thread [EMAIL PROTECTED]
Found it... actually on the user_profile models save() changing it to def save(self, *args, **kwargs): ... super(SiteUser, self).save(*args, **kwargs) fixed it. On Sep 24, 3:11 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Using django 1.0 and django-regis

manyTomany visibility in admin

2008-09-25 Thread [EMAIL PROTECTED]
ngo users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

manyTomany visibility in admin

2008-09-25 Thread [EMAIL PROTECTED]
ging thank you pavel --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For

Problems with Filter+Exclude

2008-09-25 Thread [EMAIL PROTECTED]
"Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Deploying Django Apache mod_python

2008-09-25 Thread [EMAIL PROTECTED]
oject Any help would be much appreciated. --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Deploying Django Apache mod_python

2008-09-25 Thread [EMAIL PROTECTED]
groups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Deploying Django Apache mod_python

2008-09-25 Thread [EMAIL PROTECTED]
roup, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: actual django stack

2008-09-25 Thread [EMAIL PROTECTED]
Django ONLY. --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED

Passing object to another server and back again.

2008-09-26 Thread [EMAIL PROTECTED]
? Something I'm missing? --~--~-~--~~~---~--~~ 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, send email

<    3   4   5   6   7   8   9   10   11   12   >