This is something that has been a gripe of mine in a current project, where
by originally we had organisations as users, rather than users themselves.
I think what should happen is the django user class should have a
"displayname" field, for which defaulted to the username if none was
provided, if
I created #5638 ( http://code.djangoproject.com/ticket/5638 ), would
you like to have a discuss?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django
On 28 Wrz, 22:35, "Deryck Hodge" <[EMAIL PROTECTED]> wrote:
> Hrr... I see your point about each, at least as a use case. I
> think there are ways to get what you want without, though.
I see that I can define a model called GlobalPermissions and set my
custom permissions on it.
> For case #1
On 9/28/07, Deryck Hodge <[EMAIL PROTECTED]> wrote:
> This is just how I'd handle the same requirements. Others may see a
> need for content types being decoupled from installed apps.
Mmm I dunno - I see contenttypes as a implementation detail of
models, and something that code shouldn't rel
Mario Gonzalez said the following:
> That's what I want to solve, give the opportunity to the programmer
> to change the queryset easily when a form_for_model is needed but you
> don't need the default queryset.
I understand what you want, and you can do it with a formfield_callback!
You do /n
On 9/28/07, eXt <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
>Custom content types without a model give me a lot of flexibility.
> For example:
>
> 1. I've got a bunch of reports which are generated by Jasper Reports.
> In my Django app I have some groups of users and each of them should
> see a diffe
Russel, I'm only a non-programmer user, but just curious question:
why you (all of core developers) implement the schema evolution in
the self model that is evolving and not outside the model?
Why not if you have:
from django.db import models
class Poll(models.Model):
question = mo
Hi!
Custom content types without a model give me a lot of flexibility.
For example:
1. I've got a bunch of reports which are generated by Jasper Reports.
In my Django app I have some groups of users and each of them should
see a different subset of reports. Reports are not defined in my
datab
On 9/28/07, Rob Hudson <[EMAIL PROTECTED]> wrote:
> Is there anything in Django to "register" a custom content type or
> permission that the ContentType object can call on to determine if a
> content type is registered, and if not, remove it? Or could one be
> added?
>
It's the custom content ty
On Sep 27, 9:41 pm, yish <[EMAIL PROTECTED]> wrote:
> I defined my search_fields for my model as
> seach_fields ('name')
> instead of
> search_fields ['name']
> ...
> If anyone is curious, what ended up happening is instead of iterating
> across the search fields, it iterated across the letter
On Sep 27, 12:53 am, eXt <[EMAIL PROTECTED]> wrote:
>I found that there was a change in
> django.contrib.contenttypes.management.py which adds:
I wrote that patch so I can at least respond but I think this bubbles
up into a design decision for Django...
> This causes removal of my custom con
hey marty,
i agree. see:
http://code.djangoproject.com/wiki/SchemaEvolutionDocumentation
maybe another day or two for the stand-alone version...
derek
Marty Alchin wrote:
> I won't get into the discussion on features or implementation yet, but
> I do have to agree that working code speaks vo
On Sep 28, 12:19 am, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On 9/27/07, Xan <[EMAIL PROTECTED]> wrote:
>
>
>
> > Yes, I suspect you "will create" a foundation of something of this
> > kind.
> > Like python foundation but with django ;-)
>
> > If you plan to create that, please consid
Still the same using Apache/2.2.2 and mod_wsgi 1.0
On Sep 28, 2:37 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I will try apache 2.2 I am currentry running 2.0.58 on freebsd 6.1
>
> On Sep 28, 2:20 pm, "Ramiro Morales" <[EMAIL PROTECTED]> wrote:
>
> > On 9/28/07, [EMAIL PROTECTED] <[EMAI
On 27 sep, 18:36, Collin Grady <[EMAIL PROTECTED]> wrote:
>
> Actually, you don't - I just checked the formfield method of
> ManyToManyField, and you can pass the queryset directly to that, so it
> will use that when it generates the field instead of whatever it would
> normally default to.
>
Ye
I won't get into the discussion on features or implementation yet, but
I do have to agree that working code speaks volumes compared to
descriptions. I'll have need for schema evolution in a future project,
so I've been following these discussions, and I've completely lost
track of who's working on
I will try apache 2.2 I am currentry running 2.0.58 on freebsd 6.1
On Sep 28, 2:20 pm, "Ramiro Morales" <[EMAIL PROTECTED]> wrote:
> On 9/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > Updated mod_wsgi to revision 561
>
> > No change
>
> > On Sep 28, 10:25 am, "[EMAIL PROTECTED]"
>
On 9/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Updated mod_wsgi to revision 561
>
> No change
>
> On Sep 28, 10:25 am, "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> wrote:
> > Django revision: 6426
> > Mod_wsgi revision: Revision: 489
> > Mod_python 3.2.7
> >
> > To test just set up the
Updated mod_wsgi to revision 561
No change
On Sep 28, 10:25 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Django revision: 6426
> Mod_wsgi revision: Revision: 489
> Mod_python 3.2.7
>
> To test just set up the admin interface and see if it is translated or
> not.
>
> --
>
> start
On 28 Set, 11:06, PyMan <[EMAIL PROTECTED]> wrote:
> Just for notice...in few words...
>
> i've modified some files of django.db.models putting a decorator
> function on all those functions that are critical (get_or_create,
> save, create, delete, add, remove, etc.). The decorator function just
Just for notice...in few words...
i've modified some files of django.db.models putting a decorator
function on all those functions that are critical (get_or_create,
save, create, delete, add, remove, etc.). The decorator function just
does :
* RLock.acquire
* execute the requested function
* RLo
Django revision: 6426
Mod_wsgi revision: Revision: 489
Mod_python 3.2.7
To test just set up the admin interface and see if it is translated or
not.
--
startup script
#!/usr/local/bin/python
import sys, os
paths = [
'/home/hvalsluken/code']
if paths not in sys.path:
for path in
22 matches
Mail list logo