Changing name for atom feed view to be more generic than tags.
This commit sponsored by Ben Hutchings. Thanks, Ben!
This commit is contained in:
parent
251db013fd
commit
ec3f1012b1
@ -22,7 +22,8 @@ add_route('mediagoblin.listings.tags_listing',
|
|||||||
|
|
||||||
# Atom feeds:
|
# Atom feeds:
|
||||||
add_route('mediagoblin.listings.tag_atom_feed', "/tag/<string:tag>/atom/",
|
add_route('mediagoblin.listings.tag_atom_feed', "/tag/<string:tag>/atom/",
|
||||||
"mediagoblin.listings.views:tag_atom_feed")
|
"mediagoblin.listings.views:atom_feed")
|
||||||
|
|
||||||
# The all new entries feed
|
# The all new entries feed
|
||||||
add_route('mediagoblin.listings.atom_feed', '/atom/',
|
add_route('mediagoblin.listings.atom_feed', '/atom/',
|
||||||
"mediagoblin.listings.views:tag_atom_feed")
|
"mediagoblin.listings.views:atom_feed")
|
||||||
|
@ -64,7 +64,7 @@ def tag_listing(request, page):
|
|||||||
ATOM_DEFAULT_NR_OF_UPDATED_ITEMS = 15
|
ATOM_DEFAULT_NR_OF_UPDATED_ITEMS = 15
|
||||||
|
|
||||||
|
|
||||||
def tag_atom_feed(request):
|
def atom_feed(request):
|
||||||
"""
|
"""
|
||||||
generates the atom feed with the tag images
|
generates the atom feed with the tag images
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user