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
2702906d
Commit
2702906d
authored
Oct 27, 2013
by
fred
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
limit search to emissions, episode & news items
parent
55d8ef33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
panikdb/urls.py
panikdb/urls.py
+2
-1
No files found.
panikdb/urls.py
View file @
2702906d
...
...
@@ -13,12 +13,13 @@ from haystack.query import SearchQuerySet
from
emissions.views
import
FacetedSearchView
from
emissions.urls
import
urlpatterns
as
emissions_urlpatterns
from
emissions.models
import
Emission
,
Episode
,
NewsItem
from
newsletter.urls
import
management_patterns
as
newsletter_urlpatterns
from
urls_utils
import
decorated_includes
sqs
=
SearchQuerySet
().
facet
(
'categories'
).
facet
(
'tags'
)
sqs
=
SearchQuerySet
().
models
(
Emission
,
Episode
,
NewsItem
).
facet
(
'categories'
).
facet
(
'tags'
)
urlpatterns
=
patterns
(
''
,
url
(
r
'^$'
,
'panikdb.views.home'
,
name
=
'home'
),
...
...
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