My StatcPages model has this type of url:
url(r'^(?P<slug>[a-z0-9_-]+)/$', StaticPageDetailView.as_view(), name='static_page'),
The slug field is unique = True, but there are other static URLs above, and the slug field can match them. Is it possible to somehow fasten the validator to uniqueness, but supplemented with custom values?