Re: How to make an app independent on a specific site?

2011-08-24 Thread Gelonida N
On 08/24/2011 08:15 AM, Praveen Krishna R wrote: > *Even if you write > > from models import Publisher, Book, Author > > its gonna work, inside the books application; > * > On Wed, Aug 24, 2011 at 7:09 AM, Jim > wrote: > It will be working,

Re: How to make an app independent on a specific site?

2011-08-24 Thread Praveen Krishna R
*Even if you write from models import Publisher, Book, Author its gonna work, inside the books application; * On Wed, Aug 24, 2011 at 7:09 AM, Jim wrote: > Greetings, everyone. > > I am new to Django, and much of my knowledge comes from the Django book > version 2

Re: How to make an app independent on a specific site?

2011-08-23 Thread Mike Dewhirst
On 24/08/2011 2:09pm, Jim wrote: Greetings, everyone. I am new to Django, and much of my knowledge comes from the Django book version 2 . In the book, a site, mysite, is created for demo purposes. And an app, books, is also created for demo purposes. In the

Re: How to make an app independent on a specific site?

2011-08-23 Thread Jim
BTW, the way I posted above isn't so elegant. Is there a better way to do this? Any thoughts? -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit

How to make an app independent on a specific site?

2011-08-23 Thread Jim
Greetings, everyone. I am new to Django, and much of my knowledge comes from the Django book version 2 . In the book, a site, mysite, is created for demo purposes. And an app, books, is also created for demo purposes. In the file, mysite/books/admin.py, there