That would work nicely if I had done my own user management app but I
lazily used Userena. I think I need to override a function of their profile
form so it only displays fields if the superuser or a designated boolean in
same said profile is set to true:)
Do you know how I would over ride a cla
On Thursday, 6 June 2013 11:00:40 UTC+1, tony gair wrote:
>
>
>
> I use the Userena app to manage my users but I want the superuser to
> choose the organisation for them so they cannot wonder around other
> organisations information.
>
> I can either create a foreign key in their profile to poin
I use the Userena app to manage my users but I want the superuser to choose
the organisation for them so they cannot wonder around other organisations
information.
I can either create a foreign key in their profile to point to the
organisation but then I expect they can change it, which woul
http://www.djangoproject.com/documentation/models/many_to_many/
Rgds,
Marcos
On Fri, Dec 10, 2010 at 8:54 AM, girish shabadimath <
girishmss.1...@gmail.com> wrote:
> Thanks for the reply,,
> Here are my models
>
> class Checkers(models.Model):
>name = models.CharField(max_length = 100)
>
Thanks for the reply,,
Here are my models
class Checkers(models.Model):
name = models.CharField(max_length = 100)
weight = models.FloatField(default = 0)
desc = models.CharField(max_length = 1000)
class PrepCheckers(models.Model):
name = models.CharField(max_length = 150)
ABCchecke
On Fri, 2010-12-10 at 16:55 +0530, girish shabadimath wrote:
> im new to django
>
> im using django 1.2
> i have a model that has one many-to-many relationship field
>
> How to create a object of this model ?
>
> what to pass for the field that has many-to-many relationship?
please give some d
Hi all,
im new to django
im using django 1.2
i have a model that has one many-to-many relationship field
How to create a object of this model ?
what to pass for the field that has many-to-many relationship?
--
Girish M S
--
You received this message because you are subscribed to the Google G
On Mon, 2009-08-03 at 03:49 -0700, elminio wrote:
> Hi,
> tahnks for reply I added additional ManyToManyfield to one table and
> admin panel looks ok but in fact even using syncdb new intermediate
> table wasn't created.
> Is there anything else I should do ?
Syncdb does not incrementally update
Hi,
tahnks for reply I added additional ManyToManyfield to one table and
admin panel looks ok but in fact even using syncdb new intermediate
table wasn't created.
Is there anything else I should do ?
--~--~-~--~~~---~--~~
You received this message because you are
On Mon, 2009-08-03 at 02:24 -0700, elminio wrote:
> Hello,
>
> My problem is that I have (for example), a model teacher - subject
> many to many. So that I made additional table named teacherSubject
> with both ids.
Instead of thinking about what database tables would be created, use
Django's OR
Hello,
My problem is that I have (for example), a model teacher - subject
many to many. So that I made additional table named teacherSubject
with both ids. Now I would like to have an opportunity to add subjects
to Teachers in admin panel but no by id of the subject but by name.
Now according to
11 matches
Mail list logo