Skip to content

Commit

Permalink
Merge pull request allegro#1149 from ar4s/improvments/local-urls
Browse files Browse the repository at this point in the history
Local urls
  • Loading branch information
xor-xor committed Oct 13, 2014
2 parents 93961e4 + 5aa232e commit f62ef72
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@
/src/ralph/static
/src/ralph/logs
/src/ralph/uploads
/src/ralph/urls_local.py
6 changes: 6 additions & 0 deletions src/ralph/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,9 @@
)

urlpatterns += pluggableapp.patterns()

try:
from ralph.urls_local import urlpatterns as local_urlpatterns
urlpatterns += local_urlpatterns
except ImportError:
pass

0 comments on commit f62ef72

Please sign in to comment.