Thank you Chris! I changed mysite.books to books and everything works fine
now.
On Friday, November 30, 2012 7:54:36 AM UTC+5:30, Chris Recher wrote:
>
> Thanks for the help everyone. I was using 1.4.x, not the 1.0 the book is
> based on. After fooling around with the commands for a bit, I was a
Thanks Chris. Your response just saved my day! I was able to get past this
issue!!
- Sandip
On Thursday, November 29, 2012 6:24:36 PM UTC-8, Chris Recher wrote:
> Thanks for the help everyone. I was using 1.4.x, not the 1.0 the book is
> based on. After fooling around with the commands for
Thanks for the help everyone. I was using 1.4.x, not the 1.0 the book is
based on. After fooling around with the commands for a bit, I was able to
figure out that the problem was in the INSTALLED_APPS section - I included
'mysite.books', but the new way to do that is just 'books'.
--
You recei
inside of it. I added a few
> > models to the models.py file inside books, then tried to use "python
> > manage.py validate". I got "Error: No module named books" in return.
> > __init__.py is perfectly intact in both the second mysite directory and
> the
&g
app called books inside of it. I added a few
> models to the models.py file inside books, then tried to use "python
> manage.py validate". I got "Error: No module named books" in return.
> __init__.py is perfectly intact in both the second mysite directory and the
> books di
edicted. I've got a project called mysite. I used "python manage.py
> startapp books" to create an app called books inside of it. I added a few
> models to the models.py file inside books, then tried to use "python
> manage.py validate". I got "Error: No module
nside books, then tried to use "python
manage.py validate". I got "Error: No module named books" in return.
__init__.py is perfectly intact in both the second mysite directory and the
books directory. I've added mysite.books to INSTALLED_APPS. All the results
I could find sea
7 matches
Mail list logo