Mikhail Korobov avatar Mikhail Korobov committed 58cfb53

Test project (without tests ;)

Comments (0)

Files changed (10)

Add a comment to this file


Empty file added.


+#!/usr/bin/env python
+from django.core.management import execute_manager
+    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)


+#!/usr/bin/env python
+import sys
+from django.core.management import execute_manager
+import settings
+sys.argv.insert(1, 'test')
+if len(sys.argv) == 2:
+    sys.argv.append('easy_maps')
+    sys.argv.append('test_app')
+if __name__ == "__main__":
+    execute_manager(settings)


+import os, sys
+PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
+sys.path.insert(0, os.path.abspath(os.path.join(PROJECT_ROOT, '..')))
+DEBUG = True
+DATABASE_ENGINE = 'sqlite3'
+DATABASE_NAME = 'db.sqlite'
+ROOT_URLCONF = 'urls'
+TEMPLATE_DIRS = (os.path.join(PROJECT_ROOT, 'templates'),)
+    'easy_maps',
+    'test_app',
+#    'devserver',
+    'south'






+    <body>
+        {% load easy_maps_tags %}
+        {% easy_map "Ekaterinburg, Mira 33" 300 400 using "easy_maps/map.html" %}
+    </body>
Add a comment to this file


Empty file added.


+#hello, testrunner!


+from django.conf.urls.defaults import *
+from django.views.generic.simple import direct_to_template
+urlpatterns = patterns('',
+    url(r'^$', direct_to_template, {'template': 'index.html'}, 'index')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.