On Tue, Dec 18, 2012 at 1:17 PM, Frankline <fraogo...@gmail.com> wrote: > But the sites framework has already been installed, as you can see from my > settings file. > According to me, If that is true then it should not have thrown Import error.
To install the sitemap app, follow these steps: 1. Add 'django.contrib.sitemaps' to your INSTALLED_APPS<https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-INSTALLED_APPS>setting. 2. Make sure 'django.template.loaders.app_directories.Loader' is in your TEMPLATE_LOADERS<https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-TEMPLATE_LOADERS>setting. It’s in there by default, so you’ll only need to change this if you’ve changed that setting. 3. Make sure you’ve installed the sites framework<https://docs.djangoproject.com/en/dev/ref/contrib/sites/#module-django.contrib.sites> . -- Sandeep Kaur E-Mail: mkaurkha...@gmail.com Blog: sandymadaan.wordpress.com -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.