rstanding whats limiting you from using get_profile to
> "extend" the user model... then in that having a foreign key (or m2m)
> to your group
>
> On May 10, 7:10 pm, Marcin Gorczyński <[EMAIL PROTECTED]> wrote:
>
> > Hello
>
> > In my site I want users
Hello
In my site I want users to belong to groups, but in a quite diffrent
manner from what the contrib.auth Group model is capable of. What I
would want is something like with profiles for users - you create a
profile model and then someuser.get_profile(), but tinkering with the
contrib.auth is
The manage.py sql app shows
CREATE TABLE "groups_groupdata" (
"id" serial NOT NULL PRIMARY KEY,
"group_id" integer NOT NULL REFERENCES "auth_group" ("id")
DEFERRABLE INITIALLY DEFERRED,
"division_id" integer NOT NULL REFERENCES "groups_division" ("id")
DEFERRABLE INITIALLY DEFERRED,
On May 9, 6:34 pm, Marc Fargas <[EMAIL PROTECTED]> wrote:
> El vie, 09-05-2008 a las 09:30 -0700, Marcin Gorczyński escribió:
>
> > Hello
>
> > I have a problem with syncing with my PostgresDB - I type manage.py
> > syncdb, but it doesn`t create a
Hello
I have a problem with syncing with my PostgresDB - I type manage.py
syncdb, but it doesn`t create all the columns like in this model:
class GroupData(models.Model):
group = models.ForeignKey(Group)
division = models.ForeignKey(Division)
name
Well basicly I want the groups to have more data associeted with them
- like a image filename, extracting the numer of users, one-to-one
relations with a model in a news app and forum app, adding models like
category like this category->groups, group and category moderators.
Probarly I can get
Hello
I have a problem to tackle - in my site I want to have groups that
have assigned forums, news etc. The Django contrib.auth just aren`t
enough (also I need a more custom user model). Anyone can please tell
me a good way to come around those limits? I thought about coding my
own user, group
7 matches
Mail list logo