Re: Multiple Authentication Backends (updated)

2006-04-10 Thread Ivan Sagalaev
Joseph Kocherhans wrote: >The authentication api has been simplified into 5 functions in >django.contrib.auth.utils > >authenticate(request) >Returns a user if valid credentials were found in the request. > >login(request, user) >Persist a user id and a backend name in the session. This way a use

Re: installperms and/or sqlinitialdata

2006-04-10 Thread olive
Yes, what you need is: python manage.py syncdb Olivier. --~--~-~--~~~---~--~~ 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 unsubsc

Re: ticket 1179

2006-04-10 Thread tonemcd
'...and am getting back in the game.' So I see! ;) http://code.djangoproject.com/log/django/branches/magic-removal (so that's what weekends are for...) Cheers, Tone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: ticket 1179

2006-04-10 Thread Adrian Holovaty
On 4/10/06, Luke Plant <[EMAIL PROTECTED]> wrote: > Can I push you for some resolution on > http://code.djangoproject.com/ticket/1179 ? All set; check out http://code.djangoproject.com/changeset/2655. Thanks for the reminder on this one. I've been away from serious Django hacking for quite some t

ticket 1179

2006-04-10 Thread Luke Plant
Hi Adrian, Can I push you for some resolution on http://code.djangoproject.com/ticket/1179 ? With the current code you are forced to put the definition of all models in models.py (even a models/ dir won't do), which is a blocker for quite a few people -- I for one have had to patch Django to

Multiple Authentication Backends (updated)

2006-04-10 Thread Joseph Kocherhans
There is a new patch available for multiple auth backends. http://code.djangoproject.com/attachment/ticket/1428/multiauth.diff Authentication is handled by two lists of plugins. These are defined by the AUTHENTICATION_BACKENDS and CREDENTIAL_PLUGINS settings. Each should be a tuple of strings, s

Re: More specific CSS rules for the admin

2006-04-10 Thread Wilson Miner
I could move all the class and id rules into layout.css, but they're still going to rely on the base tag rules defined in global.css. I might do that anyway, but I'm not sure I see how much it helps. Also, the way I have the import rules set up now, the more specific stylesheets actually import t

Re: More specific CSS rules for the admin

2006-04-10 Thread Christopher Lenz
Am 10.04.2006 um 17:28 schrieb Wilson Miner: > That should be possible with the changes to stylesheets in magic- > removal. Almost, but not entirely. Observe: This mixes complet

Re: More specific CSS rules for the admin

2006-04-10 Thread Wilson Miner
I think it's great you were able to get that much mileage out of the admin styles in your app. If other people see a benefit in doing the same, you've certainly proven it's possible. I still don't consider it within the scope of the admin application to provide a public interface for your app. On

Re: More specific CSS rules for the admin

2006-04-10 Thread Wilson Miner
That should be possible with the changes to stylesheets in magic-removal. Also, nothing should be preventing you from copying the admin styles and modifying them to be specific to your own needs. On 4/10/06, Christopher Lenz <[EMAIL PROTECTED]> wrote: > > Am 07.04.2006 um 17:03 schrieb Wilson Mi

Re: Proposal: Django Security

2006-04-10 Thread Joseph Kocherhans
On 4/7/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Fri, 2006-04-07 at 17:02 -0600, Joseph Kocherhans wrote: > > django.contrib.auth.models.User has too many methods and too many > > properties. It's tightly coupled to permissions, groups, the admin > > system > > > > has_permission(us

Re: More specific CSS rules for the admin

2006-04-10 Thread Christopher Lenz
Am 07.04.2006 um 17:03 schrieb Wilson Miner: > I'm open to being convinced otherwise, but I don't see it as within > the scope of the admin CSS to accomodate being embedded in other > interfaces. > > We've discussed this internally before and the general consensus was > that if you're reusing the

Re: "Streaming" patches

2006-04-10 Thread Ivan Sagalaev
Maniac wrote: >I just saw that Adrian has now commited the "response" part so unified >patch is not needed anymore. I'll update "request" patch for new lines >count (and try to fix code styling issues as I keep writing it wrong >:-( ). > > Done --~--~-~--~~~---~--~-

Re: "Streaming" patches

2006-04-10 Thread Maniac
Sorry for not replying for past 2 days, Google caught a bounce from my mail host and stopped to send new mails :-( I just saw that Adrian has now commited the "response" part so unified patch is not needed anymore. I'll update "request" patch for new lines count (and try to fix code styling issue