Example #1
0
 def setUpClass(self):
     self.request = RequestFactory().get('sponsors')
     self.response = SponsorsView.as_view()(self.request)
Example #2
0
from django.conf.urls.defaults import patterns, url

from mittun.sponsors.views import SponsorsView

urlpatterns = patterns(
    '',
    url(r'^$', SponsorsView.as_view(), name='sponsors'),
)
Example #3
0
 def setUpClass(self):
     self.request = RequestFactory().get('sponsors')
     self.response = SponsorsView.as_view()(self.request)
Example #4
0
from django.conf.urls.defaults import patterns, url

from mittun.sponsors.views import SponsorsView


urlpatterns = patterns('',
    url(r'^$', SponsorsView.as_view(), name='sponsors'),
)