Re: Support for MySQL's 0000-00-00 dates (ticket 443)

2006-11-27 Thread Fredrik Lundh
Julio Nobrega wrote: > Ok... but I think it's strange... The earliest possible "positive" > date is 01-01-, isn't? Depends on what calendar you're using. Year zero doesn't exist in the Gregorian calendar, but "-01-01" is afaik allowed by ISO 8601 (where it means January 1st, 1 BC).

Re: More questions on models

2006-11-27 Thread Jacob Kaplan-Moss
On 11/27/06 9:07 PM, [EMAIL PROTECTED] wrote: > The following is SQLObject code and I would like to know how I would do > the same in Django? Hey Jim -- You'd be better off addressing this question to the django-users mailing list; django-dev is for discussion of developing Django itself, not f

More questions on models

2006-11-27 Thread [EMAIL PROTECTED]
The following is SQLObject code and I would like to know how I would do the same in Django? class Order(SQLObject): items = MultipleJoin('OrderItem', joinColumn='order_id') class sqlmeta: table = 'orders' class OrderItem(SQLObject): quantity = IntCol(notNone=True) price

Custom User/Groups/Permissions...is this possible?

2006-11-27 Thread [EMAIL PROTECTED]
I'm porting another application over to django...while the admin tools built into django will be nice for some of my tables... I'd prefer to stick with my old User/Groups/Permissions for a lot of it ... as we have different users that will be logging in to do different things. (currently I cannot

Error running syncdb, then sqlall auth error after checking that.

2006-11-27 Thread [EMAIL PROTECTED]
Let me preface this by saying that I do have a small test app running hitting two databases and pulling back information from both of these I decided today to try and use the Admin capability in django... and then realized that django will generate its own tables when running syncdb for this.

Re: Support for MySQL's 0000-00-00 dates (ticket 443)

2006-11-27 Thread Julio Nobrega
On 11/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Julio Nobrega wrote: > > I don't think it Django should work/accept Mysql's -00-00. The > > correct data you need is NULL. > > In my experience i've seen the date '-00-00' used as a "min date" > (which is not NULL). I'm not advo

Re: Generic FK Bug

2006-11-27 Thread [EMAIL PROTECTED]
make some settings in trac first, then post --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from thi

generic-auth and extensible QuerySet filtering

2006-11-27 Thread Joseph Kocherhans
As of now generic-auth is missing part of the functionality that would make it truly useful. You can check permissions on a single object using the extensible has_permission function, but often times you need to get a list of objects for which a user has a specified permission. Getting all possibl