1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-28 15:07:05 +00:00
Matias Aguirre 468c0d38fa Django site project. Apps installed:
* Article
      This is a simple "article" application with ReST support. Instances could
      be marked as "main" and a templatetag retrieve them.

    * Blog
      Django blog application, needs a better integration yet.

    * Download
      Little application to manage "download" links

    * Link
      Little application to manage links (like those displayed on top and in the
      footer)

--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%403
2008-06-26 14:36:58 +00:00

12 lines
546 B
Python
Executable File

#!/usr/bin/env python
from django.core.management import execute_manager
try:
import settings # Assumed to be in the same directory.
except ImportError:
import sys
sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)
sys.exit(1)
if __name__ == "__main__":
execute_manager(settings)