Skip to content

Instantly share code, notes, and snippets.

@rxdazn
Created January 28, 2013 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rxdazn/4e98d97a21990c657ac3 to your computer and use it in GitHub Desktop.
Save rxdazn/4e98d97a21990c657ac3 to your computer and use it in GitHub Desktop.
diff -ruN --exclude=.git empty_dir/projectname/urls.py working_dir/projectname/urls.py
--- empty_dir/projectname/urls.py 1970-01-01 01:00:00.000000000 +0100
+++ working_dir/projectname/urls.py 2013-01-28 14:44:21.763465362 +0100
@@ -0,0 +1,10 @@
+from django.conf.urls import patterns
+from django.contrib.staticfiles.urls import staticfiles_urlpatterns
+
+from plugins.urls import urlpatterns as plugins_urls
+
+urlpatterns = patterns('',
+)
+
+urlpatterns += plugins_urls
+urlpatterns += staticfiles_urlpatterns()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment