Re: Foreign key in sqlite3

2015-10-02 Thread Ricardo Daniel Quiroga
add foreign key in model, not in database, but it can cause conflicts with django. anyway if you even want to do it reviews the documentation SQLite 2015-09-30 13:12 GMT-03:00 Gergely Polonkai : > Assuming you are using Django and it's ORM, the same way as in any other >

Re: Foreign key in sqlite3

2015-09-30 Thread Gergely Polonkai
Assuming you are using Django and it's ORM, the same way as in any other database: fieldname = models.ForeignKey(AnotherModel) On 30 Sep 2015 15:18, "Bhanu Kathuria" <001kathuriabh...@gmail.com> wrote: > I am using sqlite3 database. > How can I add foreign key between two tables. > > -- >

Foreign key in sqlite3

2015-09-30 Thread Bhanu Kathuria
I am using sqlite3 database. How can I add foreign key between two tables. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to