~ubuntu-branches/ubuntu/saucy/python-django/saucy-updates

« back to all changes in this revision

Viewing changes to django/contrib/sitemaps/tests/urls/http.py

  • Committer: Package Import Robot
  • Author(s): Luke Faraone, Jakub Wilk, Luke Faraone
  • Date: 2013-05-09 15:10:47 UTC
  • mfrom: (1.1.21) (4.4.27 sid)
  • Revision ID: package-import@ubuntu.com-20130509151047-aqv8d71oj9wvcv8c
Tags: 1.5.1-2
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.

[ Luke Faraone ]
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
from django.contrib.auth.models import User
5
5
from django.views.decorators.cache import cache_page
6
6
 
 
7
from django.contrib.sitemaps.tests.base import TestModel
 
8
 
 
9
 
7
10
class SimpleSitemap(Sitemap):
8
11
    changefreq = "never"
9
12
    priority = 0.5
18
21
}
19
22
 
20
23
generic_sitemaps = {
21
 
    'generic': GenericSitemap({'queryset': User.objects.all()}),
 
24
    'generic': GenericSitemap({'queryset': TestModel.objects.all()}),
22
25
}
23
26
 
24
27
flatpage_sitemaps = {