When I follow the book tutorial. I create p1 and p2 like on page 71,
but I get this error:
>>> from books.models import Publisher
>>> publisher_list = Publisher.objects.all()
>>> publisher_list
[]
>>>
--~--~-~--~~~---~--~~
You received this message because you are
need to make sure you are in the project
> directory and using ./manage.py shell so all the right stuff gets
> loaded up for you.
>
> Michael Trier
> blog.michaeltrier.com
>
> On Dec 21, 2007 11:46 AM, newDjangoer <[EMAIL PROTECTED]> wrote:
>
>
>
>
I am experiencing an error when I try to run the following:
>>> from django.db import connection
Traceback (most recent call last):
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/django/db/__init__.py", line 7, in
if not settings
How do I create a super user so that I can log in to the default admin
section
On Dec 21, 10:16 am, Rajesh Dhawan <[EMAIL PROTECTED]> wrote:
> On Dec 21, 10:09 am, newDjangoer <[EMAIL PROTECTED]> wrote:
>
> > OK. Thanks. Now I am getting the following error:
>
> Tha
Great. Thanks for the help.
On Dec 21, 10:16 am, Rajesh Dhawan <[EMAIL PROTECTED]> wrote:
> On Dec 21, 10:09 am, newDjangoer <[EMAIL PROTECTED]> wrote:
>
> > OK. Thanks. Now I am getting the following error:
>
> That's expected output and
OK. Thanks. Now I am getting the following error:
skcompxp:~/djcode/mysite sptxk$ python manage.py syncdb
Creating table books_publisher
Creating table books_book
Creating table books_author
Installing index for books.Book model
Loading 'initial_data' fixtures...
No fixtures found.
skcompxp:~/dj
I get this error when I runserver (python manage.py runserver):
admin.logentry: 'user' has relation with model User, which has not
been installed
admin.logentry: 'content_type' has relation with model ContentType,
which has not been installed
I was not promted to create a super user. How do I cr
Yes I am running OS X 10.4.11. I guess I will move up to 2.5. thanks!
On Dec 20, 11:54 am, Jan Rademaker <[EMAIL PROTECTED]> wrote:
> newDjangoer wrote:
> > I am installing pysqlite 2.4.0. I have python 2.3.5 installed and
> > sqlite 3.1.3. When I run the python setu
I am installing pysqlite 2.4.0. I have python 2.3.5 installed and
sqlite 3.1.3. When I run the python setup.py build I get this :
skcompxp:~/Desktop/pysqlite-2.4.0 sptxk$ python setup.py build
running build
running build_py
running build_ext
building 'pysqlite2._sqlite' extension
gcc -fno-strict-
Thanks,
I changed that and my path in urls.py and it worked. I appreciate the
help.
On Dec 17, 2:37 pm, "Tim Riley" <[EMAIL PROTECTED]> wrote:
> you are missing the beginning quote in the html line.
>
> On Dec 17, 2007 2:27 PM, newDjangoer <[EMAIL PROTECTED]> wr
]> wrote:
> newDjangoer wrote:
> > Hello,
>
> > I am a new user to Django and developing apps at that. I ran the
> > server successfully . Once I created the "First View" tutorial
> > (datetime page17) in the book and changed the settings.py and urls.py,
>
Hello,
I am a new user to Django and developing apps at that. I ran the
server successfully . Once I created the "First View" tutorial
(datetime page17) in the book and changed the settings.py and urls.py,
I get the following:
Request Method: GET
Request URL:http://127.0.0.1:8000/
Exception
12 matches
Mail list logo