Re: Dynamically setting a form's fields

2008-06-30 Thread [EMAIL PROTECTED]
Try taking a look at this: http://www.satchmoproject.com/trac/browser/satchmo/trunk/satchmo/configuration/forms.py On Jun 30, 2:09 am, Deniz Dogan <[EMAIL PROTECTED]> wrote: > Hello. > > I'm trying to do what I like to call "dynamically set a form's field". &

Best way of getting objects within a certain date range (method or manager)?

2008-06-30 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: Best way of getting objects within a certain date range (method or manager)?

2008-06-30 Thread [EMAIL PROTECTED]
it first. But the examples in the Django documentation do the same thing. What am I doing wrong? On Jun 30, 9:02 am, bruno desthuilliers <[EMAIL PROTECTED]> wrote: > On 30 juin, 14:53, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > > > I'm wanting to d

Re: Best way of getting objects within a certain date range (method or manager)?

2008-06-30 Thread [EMAIL PROTECTED]
That was it. Thanks! On Jun 30, 9:59 am, Matt <[EMAIL PROTECTED]> wrote: > On Jun 30, 8:36 am, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > > It sounds like I'm using "event_date" without defining it first. But > > the examples in

Re: Inheriting from auth.models.User

2008-06-30 Thread [EMAIL PROTECTED]
Just a note, model inheritance isn't current supported in the Admin(although it's coming). On Jun 30, 12:53 pm, bhunter <[EMAIL PROTECTED]> wrote: > Amazing!  5 minutes and dead-on answer. > Thanks.  The Django community rocks. > > PS Sorry for the RTFM question. > >

Re: Regex

2008-06-30 Thread [EMAIL PROTECTED]
Not that I know of, in the event you need it you can also import QNot from the same place as Q and it does the same thing as ~Q On Jun 30, 12:48 pm, mike171562 <[EMAIL PROTECTED]> wrote: > just wondering, would there be a difference in performance between > using .exclude without

Re: Querying a User profile

2008-06-30 Thread [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote: > On Mon, Jun 30, 2008 at 12:08 AM, Peter Rowell <[EMAIL PROTECTED]> wrote: > > >> Any advice on how to query User for a particular team name? > > > Since the relationship is between Team and UserProfile, I believe > > that

MySQL-python-1.2.2 install problems

2008-06-30 Thread [EMAIL PROTECTED]
pr_md5.h /usr/include/subversion-1/svn_md5.h /usr/local/mysql-5.0.51b-osx10.5-x86/include/my_md5.h /usr/share/man/man3/EVP_md5.3ssl.gz If anyone can help out I would appreciate it. Thanks, Jason --~--~-~--~~~---~--~~ You received this message because you are subsc

Re: problem with models and foreign keys

2008-07-01 Thread [EMAIL PROTECTED]
Because the link table is created after the Bookmarks one that would be a reference to a non-existant table, if you use the sqlall command instead you will see that the tables are altered to add the constraint. On Jul 1, 1:57 am, KevinTran <[EMAIL PROTECTED]> wrote: > Hi I'm currentl

GeoDjango/GoogleMaps: No support for points/markers

2008-07-01 Thread [EMAIL PROTECTED]
roup, 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: testing login problem

2008-07-01 Thread [EMAIL PROTECTED]
HTH, Carlos --~--~-~--~~~---~--~~ 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://

Re: MySQL-python-1.2.2 install problems

2008-07-01 Thread [EMAIL PROTECTED]
This worked after running: sudo port clean --work py25-hashlib sudo port install py25-hashlib Thanks, Jason On Jul 1, 7:50 am, "Adi J. Sieker" <[EMAIL PROTECTED]> wrote: > On Tue, 01 Jul 2008 06:56:08 +0200, Malcolm Tredinnick > > <[EMAIL PROTECTED]> wrote:

initializing a model with a dicitonary

2008-07-01 Thread [EMAIL PROTECTED]
mail 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 -~--~~~~--~~--~--~---

Tutorial method was_published_today() - problem

2008-07-01 Thread [EMAIL PROTECTED]
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: Tutorial method was_published_today() - problem

2008-07-01 Thread [EMAIL PROTECTED]
oops, it is, that was a result of copy/paste. On Jul 1, 12:23 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Tue, Jul 1, 2008 at 3:18 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I'm just going through this tutorial an

Re: Tutorial method was_published_today() - problem

2008-07-01 Thread [EMAIL PROTECTED]
It IS indented correctly, it looks like it wasn't due to copy/paste but it is in fact inline with def __str__(self): BTW running .96.1 On Jul 1, 12:26 pm, Matthias Kestenholz <[EMAIL PROTECTED]> wrote: > On Tue, 2008-07-01 at 12:18 -0700, [EMAIL PROTECTED] wrote: > > Hello, >

Re: Tutorial method was_published_today() - problem

2008-07-01 Thread [EMAIL PROTECTED]
Got it. I had to delete the tabs and use spaces. I guess I won't cut/ paste or use tabs. Thanks, Jason On Jul 1, 5:23 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Tue, Jul 1, 2008 at 8:06 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > It IS in

MySQL-python-1.2.2 - build errors

2008-07-01 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 -~--~~~~--~~--~--~---

Free Comments problem...

2008-07-02 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 -~--~~~~--~~--~--~---

Admin functionality: someadmin.articles.models.article_genre'> instance needs to have a primary key value before a many-to-many relationship can be used.

2008-07-02 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: Free Comments problem...

2008-07-02 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: Free Comments problem...

2008-07-02 Thread [EMAIL PROTECTED]
a spelling error or something, then I get an error page, but otherwise, Django doesn't complain. On Jul 2, 11:27 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Wed, Jul 2, 2008 at 11:14 AM, [EMAIL PROTECTED] < > > [EMAIL PROTECTED]> wrote: > > > Yeah, so

Re: testing login problem

2008-07-02 Thread [EMAIL PROTECTED]
gt; ___ > You've got fun!  Check out Austin360.com for all the entertainment > info you need to live it up in the big city! --~--~-----~--~----~~---~--~~ You received this message because you are sub

Re: Free Comments problem...

2008-07-02 Thread [EMAIL PROTECTED]
OK, done - http://dpaste.com/hold/60475/ Chris On Jul 3, 6:01 am, "Milan Andric" <[EMAIL PROTECTED]> wrote: > Can you paste your template athttp://dpaste.comso we can have a look? > > On Wed, Jul 2, 2008 at 11:10 AM, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]&

Re: What part of Django source code should I read first?

2008-07-03 Thread [EMAIL PROTECTED]
In terms of advanced concepts in python, the metaclass usage in the model system is pretty advanced. And the SQL generation stuff in the Query class is probably pretty cool alogirthmwise. On Jul 3, 3:22 am, Rit Lim <[EMAIL PROTECTED]> wrote: > I'm a recent college graduate, and

Re: What part of Django source code should I read first?

2008-07-03 Thread [EMAIL PROTECTED]
Have you dived already? [1] If not, you should! [1]: http://www.diveintopython.org/ On Jul 3, 10:22 am, Rit Lim <[EMAIL PROTECTED]> wrote: > I'm a recent college graduate, and I haven't written any real program. > I'm trying to learn the more advance topics in Python... Its > im

Re: Admin functionality: someadmin.articles.models.article_genre'> instance needs to have a primary key value before a many-to-many relationship can be used.

2008-07-04 Thread [EMAIL PROTECTED]
first I guessAny solution for this ? Thank you, Sateesh. On Jul 2, 7:47 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Wed, Jul 2, 2008 at 4:01 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > > > > > > Hi all, > >  I am using

Re: html templates - 'for' cycle without a variable

2008-07-04 Thread [EMAIL PROTECTED]
Create a 20-elemnt list inside your view and set it as a context variable? On Jul 3, 10:21 am, antony_h <[EMAIL PROTECTED]> wrote: > How could I repeat my 20 times? > I've found how I can repeat it 5 times: > {% for a in 12345|make_list %} > > {% endfor %} > But i

Type error: Cannot resolve keyword 'name' into field

2008-07-04 Thread [EMAIL PROTECTED]
scribed 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 -~--~~~~--~~--~--~---

syncdb

2008-07-04 Thread [EMAIL PROTECTED]
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: "Eval" in templates?

2008-07-04 Thread [EMAIL PROTECTED]
I don't think it would be difficult to implement, either as a block tag, or as a regular tag with context. On Jul 4, 7:29 pm, Ben Kovitz <[EMAIL PROTECTED]> wrote: > Is there an easy way in Django to do the following? > > In blah.html: > >    {{ buttonDecidedAtRunT

Re: syncdb

2008-07-04 Thread [EMAIL PROTECTED]
Thanks a lot!! I am used to rails. Hopefully django will have some sort of db migrate ability in the future. On Jul 4, 5:02 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Fri, Jul 4, 2008 at 7:37 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have a n

Re: urls question

2008-07-05 Thread [EMAIL PROTECTED]
Look up how to do an or using python regexs. http://docs.python.org/lib/re-syntax.html On Jul 5, 12:46 am, Luis Sanchez <[EMAIL PROTECTED]> wrote: > Hi, > > I want to do this: > > www.domain.com/part1/ > > if part1 is :  someword1 , someword2 or someword3   go to t

Re: Strange MySQLdb error

2008-07-06 Thread [EMAIL PROTECTED]
On Jul 6, 12:13 pm, Aaron <[EMAIL PROTECTED]> wrote: > So here's something really strange. I ran > > Python 2.5.2 (r252:60911, Jun 30 2008, 18:59:56) > [GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2 > Type "help", "copyright", "credits"

asynchronous operations

2008-07-07 Thread [EMAIL PROTECTED]
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 -~--~~~~--~~--~--~---

looking to override some admin save features

2008-07-07 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: looking to override some admin save features

2008-07-07 Thread [EMAIL PROTECTED]
bump. On Jul 7, 3:05 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > a brief description of what I am trying to do: > > developing a project where I would like to keep django intact allowing > for seamless SVN updates of django.  However, I need to

Non ForeignKey field type as

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

How to force user login before do anything

2008-07-08 Thread [EMAIL PROTECTED]
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/gr

Grouping Items In Multiple Categories

2008-07-08 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: Grouping Items In Multiple Categories

2008-07-08 Thread [EMAIL PROTECTED]
Thanks Arien, this was what I was looking for, I just couldn't figure out what the syntax needed to be, they really should add this example to the Django documentation. On Jul 8, 1:30 pm, Arien <[EMAIL PROTECTED]> wrote: > On Tue, Jul 8, 2008 at 11:25 AM, [EMAIL PROTECTED] <[EMA

how to log in automaticly

2008-07-09 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 -~--~~~~--~~--~--~---

Ordering a queryset with the same field type from two different models

2008-07-09 Thread [EMAIL PROTECTED]
dly provide it! Thanks, Mike. --~--~-~--~~~---~--~~ 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

Re: Ordering a queryset with the same field type from two different models

2008-07-09 Thread [EMAIL PROTECTED]
AIL PROTECTED]> wrote: > On Wed, 2008-07-09 at 05:51 -0700, [EMAIL PROTECTED] wrote: > > [...] > > > I tried using the order_by with two sets of dates: > > > .order_by('-related_name_to_model__date_field_in_B', '- > > date_field_in_A') > > > However, t

Re: What is the fastest way to come up to speed with Django?

2008-07-09 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: Ordering a queryset with the same field type from two different models

2008-07-09 Thread [EMAIL PROTECTED]
Hi Malcolm, I think what I'm going to do now is basically not mix the two models but make Model B the main model. This will solve another problem I'm having as well in one go. Thanks again for all your help. Mike. On Jul 9, 2:42 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On

Re: how to log in automaticly

2008-07-09 Thread [EMAIL PROTECTED]
thank you very much. On Jul 9, 10:44 pm, oliver <[EMAIL PROTECTED]> wrote: > Hi, > > just do this after the "registration" part is completed > > http://www.djangoproject.com/documentation/authentication/#how-to-log... > > On Jul 9, 7:15 am, "[EMAIL PROT

Re: list_display a Many to Many field

2008-07-10 Thread [EMAIL PROTECTED]
No, authors is the related manager, so it's all method returns a QuerySet with all the relevant items. On Jul 10, 8:25 am, Fernando Rodríguez <[EMAIL PROTECTED]> wrote: > El mié, 09-07-2008 a las 06:40 -0700, urukay escribió: > > > > > this should work: &g

Postgres, cursors and querysets

2008-07-10 Thread [EMAIL PROTECTED]
cate" function. I have tried manually handling the transaction. Is the problem that I am mixing Queryset/model db connections and cursor connections in the same function? Btw: This of course, works perfectly in SQLite... Regards, David --~--~-~--~----~----~---~--~~ You received this message be

Re: Root Access

2008-07-12 Thread [EMAIL PROTECTED]
this to run any python software this doesn't seem like an issue to me. On Jul 12, 6:52 pm, Tim Johnson <[EMAIL PROTECTED]> wrote: > I'm a long-time python web programmer. My company is interested in Django. > > I note from the following Amazon > URL:http://www.amazon.com/gp/prod

Re: How to force user login before do anything

2008-07-13 Thread [EMAIL PROTECTED]
thank you for your advice. thanks again. On 7月8日, 下午8时31分, cschand <[EMAIL PROTECTED]> wrote: > If your REQUIRE_LOGIN_PATH is different in settings you can use this > middleware > > http://www.djangosnippets.org/snippets/136/ > > Satheesh > > On Jul 8, 2:25 pm, D

Re: modify select widget

2008-07-14 Thread [EMAIL PROTECTED]
Sounds like you are looking for this: http://code.djangoproject.com/ticket/4412 On Jul 14, 12:18 pm, rskm1 <[EMAIL PROTECTED]> wrote: > On Jul 13, 9:58 am, "Nikolay Panov" <[EMAIL PROTECTED]> wrote: > > > You should create your custom widget for this. > >

Re: SMS code examples

2008-07-14 Thread [EMAIL PROTECTED]
Remember, django is just python, so you can use httplib or urllib to do whatever http work you need to. On Jul 14, 12:00 pm, "John Handelaar" <[EMAIL PROTECTED]> wrote: > Hola > > I'm looking to use an SMS service provider to allow users to 'register' > their ce

ImportError: No module named core

2008-07-15 Thread [EMAIL PROTECTED]
ooglegroups.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 -~--~~~~--~~--~--~---

capture http code 413 (file size too large)

2008-07-15 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 -~--~~~~--~~--~--~---

Django windows apache service

2008-07-16 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: capture http code 413 (file size too large)

2008-07-16 Thread [EMAIL PROTECTED]
correctly, except invoking the 500.html instead of the appropriate msg pranav. On Jul 16, 2:34 am, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > If you wanted to do this purely within django, you could write a   > custom middleware that reads a 'request body max size' setting from   &

Faking out mod_python

2008-07-16 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 -~--~~~~--~~--~--~---

Re: OpenID support in contrib.auth

2008-07-16 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: Django vs. Kohana

2008-07-16 Thread [EMAIL PROTECTED]
cause 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 -~--~~~~--~~--~--~---

URL encoding problem

2008-07-17 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

Row-level permissions

2008-07-17 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: accessing site settings in templates

2008-07-17 Thread [EMAIL PROTECTED]
def view_1(request): # ... t = loader.get_template('template1.html') c = RequestContext(request, {'message': 'I am view 1.'}, processors=[custom_proc]) return t.render(c) On Jul 18, 5:52 am, Jon Brisbin <[EMAIL PROTECTED]> wrote: > I was considering this option, but went with some custom

Re: URL encoding problem

2008-07-18 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: How to deal with two distinct UserProfile model ?

2008-07-18 Thread [EMAIL PROTECTED]
to be. --~--~-~--~~~---~--~~ 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

Re: "ColorField"?

2008-07-18 Thread [EMAIL PROTECTED]
Leaf, You *have* checked Django Pluggables and Django snippets already, haven't you? :-) Great places to start! http://djangoplugables.com/ http://www.djangosnippets.org/ HTH, Carlos On Jul 8, 4:49 pm, "Peter Herndon" <[EMAIL PROTECTED]> wrote: > You'l

Re: Heavy database query (max 32 tables problem)

2008-07-18 Thread [EMAIL PROTECTED]
Theres no need for that list comprehension, you can just do Course.objects.filter(users__in=users) On Jul 18, 10:49 am, "Norman Harman" <[EMAIL PROTECTED]> wrote: > Deniz Dogan wrote: > > Hey. > > > I have a model Course and then I have django.contrib.auth.

Re: Using multiple databases

2008-07-18 Thread [EMAIL PROTECTED]
please explain, or redirect to a page explaining it? 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, sen

RSS feed dont work well with Internet Explorer

2008-07-18 Thread [EMAIL PROTECTED]
ango-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 have both newforms-admin and previous version on the same machine?

2008-07-19 Thread [EMAIL PROTECTED]
. because you need django for settings.py, you can not set it in settings. custom env scripts work well (and I recommend virtualenv) hope this helps. -Doug On Jul 19, 9:26 pm, Rodrigo Culagovski <[EMAIL PROTECTED]> wrote: > I'm looking foward to trying out the merged newforms-ad

Using Django Syndication for RSS Feed

2008-07-20 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: filter on a method

2008-07-20 Thread [EMAIL PROTECTED]
It sounds like you want to give each of the models it's own manager. On Jul 20, 3:28 am, "Andre Meyer" <[EMAIL PROTECTED]> wrote: > hi all > > it does not seem to be possible to filter on the return value of a model's > method, or is it? are there alternative

Re: 0.96 EOL

2008-07-20 Thread [EMAIL PROTECTED]
Django provides security updates for the past 3 revisions, so this would include .96 I believe. Otherwise django does not have a policy of backporting non-security issues. On Jul 20, 1:35 pm, leonel <[EMAIL PROTECTED]> wrote: > Hello : > > After  version 1.0  are there any p

Re: How to display UserProfiles in newforms-admin

2008-07-20 Thread [EMAIL PROTECTED]
As long as it works(which I have every reason to believe it does), yes that looks like the best solution. On Jul 20, 4:25 pm, Bernd Donner <[EMAIL PROTECTED]> wrote: > Thanks for the link. Since UserAdmin is not directly under my control I came > up with the following soluti

ContentType "content_object" as a filter parameter?

2008-07-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:/

Re: How to display UserProfiles in newforms-admin

2008-07-21 Thread [EMAIL PROTECTED]
On Jul 20, 4:22 pm, slav0nic <[EMAIL PROTECTED]> wrote: > #admin.py > from django.contrib import admin > from profile.models import UserProfile > from django.contrib.auth.models import User > > class ProfileInline(admin.StackedInline): > model = UserProfile >

Re: URL encoding problem

2008-07-21 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 -~--~~~~--~~--~--~---

Model Meta verbose_name setter

2008-07-21 Thread [EMAIL PROTECTED]
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: ContentType "content_object" as a filter parameter?

2008-07-21 Thread [EMAIL PROTECTED]
se I could separate them. It seems like giving up though! :-) Thanks again, Mike. On Jul 21, 10:51 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi guys, > > I have two models (A and B) that I want to intermix into a QuerySet. I > know this is not yet possible

Re: Is the same request.method == "POST" and request.POST?

2008-07-21 Thread [EMAIL PROTECTED]
The correct way to test is to do request.method == "POST", not test request.POST, because that could be empty even on a post request. On Jul 21, 5:53 pm, "Juanjo Conti" <[EMAIL PROTECTED]> wrote: > I have used both ways in my views, now I am wondering know if one i

Re: Is the same request.method == "POST" and request.POST?

2008-07-21 Thread [EMAIL PROTECTED]
Correct, but it will also be empty if the user doesn't fill out any of the fields in the form(or whatever), and in that case you'd want to return the page with the appropriate errors. On Jul 21, 6:10 pm, "Juanjo Conti" <[EMAIL PROTECTED]> wrote: > 2008/7/21 [EMAIL PROTECTED

Re: autodiscover() fails too silently...

2008-07-21 Thread [EMAIL PROTECTED]
Brian and I looked briefly at testing for the modules existence using the imp module, and that may yet happen, but for know, be aware of your own code. On Jul 21, 5:47 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Mon, Jul 21, 2008 at 4:12 PM, Amit Ramon <[E

Re: Custom permission problem in newforms-admin

2008-07-21 Thread [EMAIL PROTECTED]
I believe you can override get_form and have it create a new modelform for each request, you'd probably have to look into the source to see what the method and signature look like. On Jul 21, 8:04 pm, Brandon Taylor <[EMAIL PROTECTED]> wrote: > Doh! You're absolutely right Malcom. Sor

Re: Model Meta verbose_name setter

2008-07-22 Thread [EMAIL PROTECTED]
On 22 juil, 14:38, "Marty Alchin" <[EMAIL PROTECTED]> wrote: > On Tue, Jul 22, 2008 at 5:17 AM, James PIC <[EMAIL PROTECTED]> wrote: > > I'm trying to use the value of a field of the model for Meta verbose_name. > > Do you mean an instance of the model? Like,

Re: Filtering a choice field

2008-07-25 Thread [EMAIL PROTECTED]
On Jul 25, 2:35 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: Oh, ignore me, it was something strange I was doing. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" gr

Re: Need help with some custom pagination

2008-07-25 Thread [EMAIL PROTECTED]
Thank you much. I'll be looking closer at your Django forum code, too. I'm liking what I see. On Jul 23, 9:56 am, "Jonathan Buchanan" <[EMAIL PROTECTED]> wrote: > On Wed, Jul 23, 2008 at 3:26 PM, [EMAIL PROTECTED] > > > > <[EMAIL PROTECTED]> wrote:

Re: Model relationships

2008-08-18 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 -~--~~~~--~~--~--~---

Re: ManyToManyField contains

2008-08-18 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: Model relationships

2008-08-18 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: ifequal doesn't evaluate expressions

2008-08-19 Thread [EMAIL PROTECTED]
On Aug 18, 4:05 pm, zdmytriv <[EMAIL PROTECTED]> wrote: > It's always bad idea to extend somebodies tool because when you wanted > to update current version with latest you can be in trouble. Latest > doesn't always support previous. > i.e. Django 1.0 uses Variable class to pro

gettext is not defined - js error in admin calendar.js

2008-08-19 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

Generic views list_detail

2008-08-19 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: Generic views list_detail

2008-08-19 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: gettext is not defined - js error in admin calendar.js

2008-08-19 Thread [EMAIL PROTECTED]
That did it. Many Thanks! On Aug 19, 3:09 pm, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Aug 19, 5:28 pm, "[EMAIL PROTECTED]" > > > > <[EMAIL PROTECTED]> wrote: > > Hello, > > > I'm trying to use the datetime picker widget from the admin wi

Re: Generic views list_detail

2008-08-19 Thread [EMAIL PROTECTED]
ango-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: Generic views list_detail

2008-08-19 Thread [EMAIL PROTECTED]
eceived 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: Generic views list_detail

2008-08-19 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: Generic views list_detail

2008-08-20 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 -~--~~~~--~~--~--~---

problem with code.djangoproject.com/wiki/CookBookNewformsAdminAndUser

2008-08-20 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

Memcached Help?

2008-08-20 Thread [EMAIL PROTECTED]
:11211;10.0.0.3:11211;10.0.0.4:11211;10.0.0.5:11211/' Apache will then run fine for an arbitrary amount of time after which the error log will fill up (and I mean fill up, as in taking up 100% of available disk space) with errors like this... [EMAIL PROTECTED] mcm_buf_read():361: read(2) failed: Resource

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