Re: Proposal: Manage.py custom commands overloading

2008-10-31 Thread Tai Lee
If it feels wrong to put a command in "project/app1", you can put it in "project" and simply add "project" to your INSTALLED_APPS. You can then place any models, management commands, URLs, views, or anything else that is common to all your "apps" in the "project" app. --~--~-~--~~---

1.0.1 release blockers?

2008-10-31 Thread mrts
There has been much reluctancy in letting triagers tag and prioritize 1.0.1 milestone tickets. Now that 1.0.1 is really close, can we perhaps discuss what are the things that really should be fixed before it is released? The only major issue I have encountered is http://code.djangoproject.com/ti

Re: Absolute paths in settings.py

2008-10-31 Thread Ole Laursen
On 30 Okt., 22:55, "Valts Mazurs" <[EMAIL PROTECTED]> wrote: > There should be significantly greater number of Django projects that are > deployed without any fancy stuff involved. > Anyway, if someone wants to deploy his project as egg it would be easy to > just change "PROJECT_DIR =.." as all ot

Re: 1.0.1 release blockers?

2008-10-31 Thread Jacob Kaplan-Moss
On Fri, Oct 31, 2008 at 4:38 AM, mrts <[EMAIL PROTECTED]> wrote: > The only major issue I have encountered is > http://code.djangoproject.com/ticket/8882 Thanks for the pointer; I'd agree this should get in. Jacob --~--~-~--~~~---~--~~ You received this message

Re: 1.0.1 release blockers?

2008-10-31 Thread [EMAIL PROTECTED]
And whoops again, brosner has a patch that covers the parent fkey issue. My patch covers the issue of duplicate data within the formset. On Oct 31, 9:26 am, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > On Fri, Oct 31, 2008 at 4:38 AM, mrts <[EMAIL PROTECTED]> wrote: > > The only major issue

Re: 1.0.1 release blockers?

2008-10-31 Thread [EMAIL PROTECTED]
Ahh whoops, I have a patch for that(only covers unique right now), will upload now. Alex On Oct 31, 9:26 am, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > On Fri, Oct 31, 2008 at 4:38 AM, mrts <[EMAIL PROTECTED]> wrote: > > The only major issue I have encountered > > ishttp://code.djangoproj

Problem with object values in Django 1.0

2008-10-31 Thread Opel
I have been following along to the Django Tutorial after downloading and installing V1.0. Everything is working fine apart from when I try to use the python shell to return the objects names. I tried to skip the step but when I tried to create the select menu of Polls for the Choices all that was

Re: Problem with object values in Django 1.0

2008-10-31 Thread Dan Fairs
> > This is what my model looks like at the moment > > class Poll(models.Model): >question = models.CharField(max_length=200) >pub_date = models.DateTimeField('date published') > > def __unicode__(self): >return self.question Your indentation is wrong. The 'def __unicode__' line

Re: Problem with object values in Django 1.0

2008-10-31 Thread Dan Fairs
Sorry - should also have mentioned that this should be on django-users. On 31 Oct 2008, at 14:28, Opel wrote: > > I have been following along to the Django Tutorial after downloading > and installing V1.0. Everything is working fine apart from when I try > to use the python shell to return the o

Re: 1.0.1 release blockers?

2008-10-31 Thread Karen Tracey
On Fri, Oct 31, 2008 at 6:38 AM, mrts <[EMAIL PROTECTED]> wrote: > > There has been much reluctancy in letting triagers tag and prioritize > 1.0.1 milestone tickets. Now that 1.0.1 is really close, can we > perhaps discuss what are the things that really should be fixed before > it is released? >

Re: 1.0.1 release blockers?

2008-10-31 Thread Joey Wilhelm
I would like to suggest the following: http://code.djangoproject.com/ticket/9245 http://code.djangoproject.com/ticket/6710 They both have fully functional patches... although granted the second has no tests. --~--~-~--~~~---~--~~ You received this message because y

Re: 1.0.1 release blockers?

2008-10-31 Thread James Bennett
On Fri, Oct 31, 2008 at 5:38 AM, mrts <[EMAIL PROTECTED]> wrote: > There has been much reluctancy in letting triagers tag and prioritize > 1.0.1 milestone tickets. Now that 1.0.1 is really close, can we > perhaps discuss what are the things that really should be fixed before > it is released? We

Re: Problem with object values in Django 1.0

2008-10-31 Thread Andrew Cetnarskyj
thanks Dan I had used tabs instead of spaces, I will subscribe to django-users for future problems Andy On 31 Oct 2008, at 14:46, Dan Fairs wrote: > > Sorry - should also have mentioned that this should be on django- > users. > > On 31 Oct 2008, at 14:28, Opel wrote: > >> >> I have been fol

Mysql Ping and performance

2008-10-31 Thread bo
Not sure if this is a Django issue or the supporting Mysqldb (1.2.2) python package .. (i'll stop this here if its not, but it seems worthy of at least letting other know this) however while profiling a page i came across this seemingly performance hole. Ordered by: internal time

ANN: Django 1.0.1 beta available

2008-10-31 Thread James Bennett
See the weblog entry: http://www.djangoproject.com/weblog/2008/oct/31/101-beta/ And the downloads page: http://www.djangoproject.com/download/ As previously mentioned, this is mainly a preview to let people get a feel for what's been fixed/improved in the 1.0.X line since the 1.0 release, and

Re: Arbitrary objects in urlconf

2008-10-31 Thread ludvig.ericson
On Oct 29, 8:06 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > You can already do what your proposal would allow in middleware as > seen here:http://www.b-list.org/weblog/2007/nov/06/urlconf/ Yes, that's one way. But there's an issue with this: it breaks reverse mappings, which I use a lot

Re: Arbitrary objects in urlconf

2008-10-31 Thread [EMAIL PROTECTED]
There is a ticket about reverse not respecting request.urlconf. Alex On Oct 31, 7:50 pm, "ludvig.ericson" <[EMAIL PROTECTED]> wrote: > On Oct 29, 8:06 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > You can already do what your proposal would allow in middleware as > > seen here:http:

1.0.1 Feature UserProfile inline Filter in User

2008-10-31 Thread Cornbread
I've ran into an issue I think that many will run into. In our project we have a profile for each user and we have integrated that inline with the user settings page. We have also added items from the profile (address, city, state, zip, is_boss, etc) into the auth users view. The issue comes up

Re: 1.0.1 release blockers?

2008-10-31 Thread Steve Holden
Karen Tracey wrote: > On Fri, Oct 31, 2008 at 6:38 AM, mrts <[EMAIL PROTECTED] > > wrote: > > > There has been much reluctancy in letting triagers tag and prioritize > 1.0.1 milestone tickets. Now that 1.0.1 is really close, can we > perhaps discuss what are t

Re: 1.0.1 Feature UserProfile inline Filter in User

2008-10-31 Thread [EMAIL PROTECTED]
This just seems like a generalization of this: http://code.djangoproject.com/ticket/3400 On Oct 31, 7:28 pm, Cornbread <[EMAIL PROTECTED]> wrote: > I've ran into an issue I think that many will run into. > > In our project we have a profile for each user and we have integrated > that inline with

Re: #7611 contrib.auth PasswordResetTest requires specific templates for tests to pass

2008-10-31 Thread Siddhi
On Sep 7, 6:32 am, sciyoshi <[EMAIL PROTECTED]> wrote: > On Jul 19, 2:15 am, "Russell Keith-Magee" <[EMAIL PROTECTED]> > wrote: > > Not sure if this should be considered a related issue - theauthtests > use a different urlconf that only include theauthurls, so if you > provide custom registration