Your sub-folder, in your case 'apps', needs to be a python module. Simply copy (not move) the file '__init__.py from your project directory into your apps directory.
In this manner, apps.blog will be found. __init__.py is an empty file by default. On Apr 20, 9:51 am, drackett <[EMAIL PROTECTED]> wrote: > I would like to move my apps from the root folder of my site to a > subfolder (apps.) I tried to match what I saw in the source for the > django site, changing my settings.py from: > > INSTALLED_APPS = ( > 'django.contrib.auth', > 'django.contrib.admin', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.sites', > 'newsite.blog', > > to > > INSTALLED_APPS = ( > 'django.contrib.auth', > 'django.contrib.admin', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.sites', > 'newsite.apps.blog', > > and moving the "blog" folder into "apps" however, when I try and do > this I get the following errors on runserver: > > newsite.apps.blog: No module named apps.blog > > is it possible to do this? --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---