Re: "Building you first Django app, Part 1" example not working

2008-12-21 Thread mrtot
Hi Chris, maybe it's the best to just do what the error message suggest: "Please fill out DATABASE_NAME in the settings module before using the database. " Put in something like '/home/chris/projects/django-tutorial/db/db.db' You can create your own name. Django just wants to know where it sho

Re: invalid literal for int() with base 10 trying to access uploaded image

2008-10-01 Thread mrtot
Hi Kelvin, I just ran into that problem, too. However the hint to MEDIA_URL was correct! You must add the following to the very bottom of your urls.py: if settings.DEBUG: urlpatterns += patterns('', (r'^static/(?P.*)$', 'django.views.static.serve', {'document_root': 'd:sites/sgms/me