Re: deprecation of AUTH_PROFILE_MODULE

2013-02-27 Thread Alper Çuğun

I looked into this today with 1.5 hitting and working on a project and this 
seemed relevant.

On Monday, 2 May 2011 19:22:53 UTC+2, Carl Meyer wrote:

> 1. A specification of the minimal useful interface for a User (perhaps
>
> in the form of an abstract base model?) 
>
A User should not require a username. Usernames are a hideous remnant that 
are impossible to justify on consumer facing websites. Authentication on 
e-mail should be built-in if not the default.
 

> 4. A migration path that meets our backwards-compatibility standards.
>
I saw the configurable User model that just landed in 1.5 but for a 
non-library developer this is not very useful. It looks like a very large 
amount of code for a rather small function.

Furthermore: “If you intend to set 
AUTH_USER_MODEL,
 
you should set it before running manage.py syncdb for the first time.” is 
somewhat prohibitive to existing projects. “you may need to look into using 
a migration tool like South  to ease the 
transition.” is not really a solution unless it is obvious what changes 
should be made.

Also I don't understand: “This example illustrates how most of the 
components work together, but is not intended to be copied directly into 
projects for production use.” Code that is ready for production is the 
point of the documentation for me. If this isn't, I think it's a 
documentation bug.

Best,
Alper

>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




struct_time

2010-06-29 Thread Alper Çuğun

Would it be very hard for the template filters that currently accept
datetime instances to also accept struct_time tuples as here:
http://docs.python.org/library/time.html#time.struct_time
?

It would be  exceedingly nice if these would Just Work whatever well
known time structure you throw in there.

Thoughts/Considerations? (If deemed a good idea, I might be able to
whip something up myself.)

Cheers,
Alper

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.