I'm afraid I can't help you any further on this, as I don't know enough
about the contenttypes framework, and I still don't really understand what
it is you are asking.
Cal
I got it fixed . Now I have smaller issue . Foreign key ( of a particular
model) is returning me a table_id with some rand
Again, please keep your replies on-list.
I'm afraid I can't help you any further on this, as I don't know enough
about the contenttypes framework, and I still don't really understand what
it is you are asking.
Cal
On Thu, Jun 23, 2011 at 10:07 PM, Satyajit Sarangi <
writetosatya...@gmail.com> wr
Please keep your replies on-list so others may benefit in the future.
On Thu, Jun 23, 2011 at 10:01 PM, Satyajit Sarangi <
writetosatya...@gmail.com> wrote:
> First of all , when I am doing this
> perm.table = ContentType.objects.get(app_label="OsmMap",model="Osm_Layers")
> I am getting a content
You're going to have to explain this a lot better, because I really
did not understand what you mean.
At a *GUESS*, are you trying to prevent against db save race
conditions or something??
Please clarify.
Cal
On 23/06/2011 20:07, Satyajit Sara
This is my models.py of a different app .
class PermiLayer(models.Model):
user = models.ForeignKey(User)
table = models.ForeignKey(ContentType)
permi = models.IntegerField()
In another app's views , I am accessing a form that has given me a
username .
I have to chec
5 matches
Mail list logo