Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
panikdb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
radiopanik
panikdb
Commits
f8c545b8
Commit
f8c545b8
authored
Sep 23, 2013
by
fred
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add newsletter app to write newsletters
parent
085971bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
panikdb/settings.py
panikdb/settings.py
+1
-0
panikdb/urls.py
panikdb/urls.py
+4
-0
No files found.
panikdb/settings.py
View file @
f8c545b8
...
...
@@ -131,6 +131,7 @@ INSTALLED_APPS = (
'datetimewidget'
,
'django_bootstrap_staticfiles'
,
'emissions'
,
'newsletter'
,
'panikdb.aa'
,
'panikdb.customtags'
,
)
...
...
panikdb/urls.py
View file @
f8c545b8
...
...
@@ -13,6 +13,7 @@ from haystack.query import SearchQuerySet
from
emissions.views
import
FacetedSearchView
from
emissions.urls
import
urlpatterns
as
emissions_urlpatterns
from
newsletter.urls
import
management_patterns
as
newsletter_urlpatterns
from
urls_utils
import
decorated_includes
...
...
@@ -30,6 +31,9 @@ urlpatterns = patterns('',
url
(
r
'^emissions/'
,
decorated_includes
(
login_required
,
include
(
emissions_urlpatterns
))),
url
(
r
'^newsletters/'
,
decorated_includes
(
login_required
,
include
(
newsletter_urlpatterns
))),
url
(
r
'^news/$'
,
'panikdb.views.news'
,
name
=
'news-list'
),
url
(
r
'^accounts/logout/'
,
'django.contrib.auth.views.logout_then_login'
,
name
=
'logout'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment