Re: Possible bug in Django Admin site in tabular inline or stacked inline with datetime shortcuts

2016-04-25 Thread Константин Попов
I have found possible bug in django admin site, using tabular inline with > datetime field. The same bug exists in stacked inline as I can see form > code. > > I am not sure what is the best way to report the bug, so I decided to > write here first. > Please, give me advice on

Possible bug in Django Admin site in tabular inline or stacked inline with datetime shortcuts

2016-04-19 Thread Константин Попов
Hi, django users. I have found possible bug in django admin site, using tabular inline with datetime field. The same bug exists in stacked inline as I can see form code. I am not sure what is the best way to report the bug, so I decided to write here first. Please, give me advice on my next

Bug in django admin: list_editable should be not editable if appear in readonly_fields

2014-05-03 Thread Anton Danilchenko
Hello dev team! I think that if some field set to *readonly_fields* than we should display disabled field in *list_editable*. Now I have set field "*price*" into *list_editable* and *readonly_fields*. And I see this field not editable in "change view" in admin panel, but I see it editable in

Re: Bug in Django admin?

2011-03-09 Thread Michael Radziej
Hi Martin! On Wed, 09 Mar 2011 15:58:54 +0100, Martin Tiršel wrote: > NO = False > YES = True > YES_NO_CHOICES = ( > (NO, 'no'), > (YES, 'yes') > ) > > to > > > NO = 0 > YES = 1 > YES_NO_CHOICES = ( > (NO, 'no'), > (YES, 'yes') > ) > > Then I get 0

Re: Bug in Django admin?

2011-03-09 Thread Martin Tiršel
Hi Michael, On Tue, 08 Mar 2011 11:05:40 +0100, Michael Radziej wrote: Hi Martin! Args--you're right. Stupid fingers :-) I meant .../admin/appname/booltest/?completed__exact=0 Does it work that way for you with 0 instead of False? Yes, if I rewrite URL to

Re: Bug in Django admin?

2011-03-08 Thread Michael Radziej
Hi Martin! > > It's the wrong URL, you should use > > > > .../admin/appname/booltest/?completed__exact=False > > > > It is the same link, I don't see a difference :) Args--you're right. Stupid fingers :-) I meant .../admin/appname/booltest/?completed__exact=0 Does it work that way for you

Re: Bug in Django admin?

2011-03-08 Thread Martin Tiršel
Hello, On Mon, 07 Mar 2011 22:12:14 +0100, Michael Radziej wrote: Ahoj Martin, On Mon, 07 Mar 2011 12:49:32 +0100, Martin Tiršel wrote: When I use filter in Django admin (that produces URL .../admin/appname/booltest/?completed__exact=False), I

Re: Bug in Django admin?

2011-03-07 Thread Michael Radziej
Ahoj Martin, On Mon, 07 Mar 2011 12:49:32 +0100, Martin Tiršel wrote: > When I use filter in Django admin (that produces URL > .../admin/appname/booltest/?completed__exact=False), I get results which > are with completed=True. This is the SQL query generated by Django >

Bug in Django admin?

2011-03-07 Thread Martin Tiršel
Hello, I have such model: class BoolTest(models.Model): NO = False YES = True YES_NO_CHOICES = ( (NO, 'no'), (YES, 'yes') ) name = models.CharField( max_length=30 ) completed = models.BooleanField( default=NO,

Re: possible bug in django-admin

2008-09-11 Thread Benedict Verheyen
Karen Tracey wrote: > It's not trying to limit you to just one project. It's just trying to > prevent confusion by not letting you create and attempt to work with a > new project when you're running in an environment already set up to > manage a different project. In those cases, simply unset

Re: possible bug in django-admin

2008-09-10 Thread Karen Tracey
On Wed, Sep 10, 2008 at 3:06 AM, Benedict Verheyen < [EMAIL PROTECTED]> wrote: > > James Bennett wrote: > > On Tue, Sep 9, 2008 at 4:15 AM, Benedict Verheyen > > <[EMAIL PROTECTED]> wrote: > >> i tried to do a django-admin startproject and it > >> said that startproject wasn't a valid command. >

Re: possible bug in django-admin

2008-09-10 Thread Benedict Verheyen
James Bennett wrote: > On Tue, Sep 9, 2008 at 4:15 AM, Benedict Verheyen > <[EMAIL PROTECTED]> wrote: >> i tried to do a django-admin startproject and it >> said that startproject wasn't a valid command. >> Weird. django-admin help indeed didn't show the startproject command. > > This is

Re: possible bug in django-admin

2008-09-09 Thread James Bennett
On Tue, Sep 9, 2008 at 4:15 AM, Benedict Verheyen <[EMAIL PROTECTED]> wrote: > i tried to do a django-admin startproject and it > said that startproject wasn't a valid command. > Weird. django-admin help indeed didn't show the startproject command. This is currently intended behavior and I

possible bug in django-admin

2008-09-09 Thread Benedict Verheyen
Hi, i tried to do a django-admin startproject and it said that startproject wasn't a valid command. Weird. django-admin help indeed didn't show the startproject command. Checked /usr/lib/python2.4/site-packages/django/core/management/__init__.py And in the get_commands function, there is a