I followed the Djangoappengine instructions. I used their django-testapp and copied the following folders in the django-testapp folder according to what I understood the instructions to say:
I then started the dev server by running:
manage.py runserver
Then navigated to
http://localhost:8000/
and got the "It worked!" page, which is great, but it says the following at the bottom:
You're seeing this message because you have DEBUG = True in your Django settings file and you haven't configured any URLs. Get to work!
I am an absolute beginner with Django and App Engine and Djangoappengine and Django-nonrel, so I am pretty lost. How do I configure URLs? Or a link to the how to will help.
I took a look at the Django tutorial, but am unsure how much of it is relevant to Djangoappengine and Django-nonrel as a lot of the starting steps have to do with SQL databases.
Basically some direction on how to get my app running will be great.
Thanx much.
Mostly I think you should be able to follow the django tutorials as normal. You can create your models just like normal, create your views and urls etc. Just skip all the bits about setting up the database - that's already been done for you if djangoappengine is working properly.
You don't need to syncdb
to get the database tables built - app engine will do that for you automatically.
You're probably better to use the App Engine admin system to start with which will probably be at http://localhost:8080/_ah/admin/ (or :8000 if that's where you've got it running) rather than the django admin system.
You don't even need to start with the database if you don't want. You should be able to run django-admin.py startapp myapp
just fine to get yourself started.
Then:
Ok, so that's mostly covered from page 3 of the tutorial onwards - most of 1& 2 can probably be skipped over in this instance.
The Django documentation is excellent tho, and most of it will be applicable even using Django-Nonrel on app engine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With