Hey Guys,So 1.2 is almost out the door so I wanted to raise an issue that I would love to start working to fix for 1.3.
--
You received this message because you are subscribed to the Google Groups "Django developers" group.
To post to this group, send email to django-d...@googlegroups.com.
To unsubscribe from this group, send email to django-develop...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.
--
I believe the post-release period is typically referred to as "sobering up" :-)
To address Vitaly's original point - contrib.auth is on my list of
things I want to address in 1.3.
Yours,
Russ Magee %-)
Pff, move emails out entirely. Email-addresses may change. Usernames
shouldn't change. One may have more than one email-address.
Maybe the time is right to make that branch now...
HM
- Make email unique and username non-required on the model. That would
make implementing something that authenticated by email a lot
easier :)
and all the brick walls I hit were admin related. Whether these are
better fixed in contrib.auth or contrib.admin is hard to say:
1. I can show profile fields in the user changelist but I can't sort,
filter or search on them or use list_editable on them.
2. I can re-register my own ModelAdmin for users to customize the User
admin but I can't add custom filterspecs as that requires editing the
auth models.py
#1 could be mitigated if contrib.admin allowed more ways to following
relationships for things like list_display and list_filter.
#2 requires a more elegant way to write custom filterspecs without
touching models.py - maybe this is already possible?
Andy Baker
1. It's *extremely* unlikely that changes will be considered which
require every Django install on the planet to undergo a DB schema
migration.
2. The appropriate time to discuss possible 1.3 features is when the
feature-discussion window for 1.3 comes up. That will happen sometime
in April, probably. Suggestions made now are likely to be forgotten by
the time that happens.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
On Tue, Feb 9, 2010 at 2:09 AM, Harro <hvdk...@gmail.com> wrote:1. It's *extremely* unlikely that changes will be considered which
> - Make email unique and username non-required on the model. That would
> make implementing something that authenticated by email a lot
> easier :)
require every Django install on the planet to undergo a DB schema
migration.
2. The appropriate time to discuss possible 1.3 features is when the
feature-discussion window for 1.3 comes up. That will happen sometime
in April, probably. Suggestions made now are likely to be forgotten by
the time that happens.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
As for breaking data and migrations; it shouldn't be that hard to
write a management command that does this.
On Feb 9, 5:54 pm, Vitaly Babiy <vbabi...@gmail.com> wrote:
> Vitaly Babiy
>
> On Tue, Feb 9, 2010 at 3:16 AM, James Bennett <ubernost...@gmail.com> wrote:
> > On Tue, Feb 9, 2010 at 2:09 AM, Harro <hvdkl...@gmail.com> wrote:
> > > - Make email unique and username non-required on the model. That would
> > > make implementing something that authenticated by email a lot
> > > easier :)
>
> > 1. It's *extremely* unlikely that changes will be considered which
> > require every Django install on the planet to undergo a DB schema
> > migration.
>
> James this is true. Another reason it would be nice to have a
> migration framework for Django.
>
>
>
>
>
> > 2. The appropriate time to discuss possible 1.3 features is when the
> > feature-discussion window for 1.3 comes up. That will happen sometime
> > in April, probably. Suggestions made now are likely to be forgotten by
> > the time that happens.
>
> > Yeah I plan to bring this up again, around that time frame.
>
> > --
> > "Bureaucrat Conrad, you are technically correct -- the best kind of
> > correct."
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django developers" group.
> > To post to this group, send email to django-d...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > django-develop...@googlegroups.com<django-developers%2Bunsubscr i...@googlegroups.com>
To unsubscribe from this group, send email to django-develop...@googlegroups.com.
Why should permissions and groups be in the same app as the user? Less
reusable that way. Identity is different from authentication is
different from authorization.
Premature optimization or not, as it is today on many sites the
user-table is hit extremely frequently. I'm not sure it is wise to
have layer upon layer between the user in the db and the zillion
things that has a foreign key to it.
HM
This is really not the time to be discussing this; anything in this
thread's going to be long forgotten by the time 1.2's out and 1.3
feature discussions are going on.
Jacob already said back in December '07:
"we just need to relax the current restrictions"
The ticket has a patch, and tests...
How about fixing http://codeStrona główna Dodaj firmę Moja firma Pomoc Blog O nas Konkurs Kontakt.djangoproject.com/ticket/5786
A couple of things to keep in mind:
1) We know about the limitations, and we want to fix them.
2) No, seriously, we know about the limitations, and we want to fix them.
3) I wasn't kidding on the first two points.
As has been said several times in this thread, the limitations with
contrib.auth Users are well known, and they are something we want to
address -- in the Django 1.3 timeframe. Now is *not* the time to be
discussing this.
Yours,
Russ Magee %-)