Hi Anja, On Fri, 2006-05-12 at 03:44 -0700, Anja wrote: > Hi, > we are thinking about creating a small application with Django and > deliver it to our customers. > We would like to use Django without a database. > Reason: > 1) Installation without database is easier > 2) Our small application won't use a database, but our own search > engine that has a python api. > > I tried to get the built-in web server running without database, but > did not succeed. > I modified settings.py, DATABASE_ENGINE = '' > But this did not work. > Any ideas?
In the latest source code, have a look in the examples directory. There is a little "hello" application in there that uses the views and templates without using a database at all. That has a very minimal settings file as well (so short, I can paste it in full): # Django settings for the example project. DEBUG = True TEMPLATE_DEBUG = DEBUG ROOT_URLCONF = 'examples.urls' You can run that in place to see what happens by setting your PYTHONPATH to the directory above examples/ and then running "python manage.py runserver" and it should work (it did for me when I tried it just now). So if you can get that example running, customising for your own purposes should be relatively simple. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---