clean up a bit

This commit is contained in:
bkfox
2016-05-25 13:26:05 +02:00
parent 14e9994a79
commit fb659c2c30
15 changed files with 130 additions and 322 deletions

View File

@ -47,7 +47,7 @@ class Website:
view = view.as_view(
website = self,
model = model,
**view_kwargs,
**view_kwargs
)
self.urls.append(routes.DetailRoute.as_url(name, view))
self.registry[name] = model