from django.conf.urls import url
from django.views.decorators.cache import cache_page

from registration.views import (
    CachableTemplateView,
    EmailConfirmationView,
    RegistrationView,
    CompanyProfileEditView,
)


cache_me = cache_page(60 * 1)

urlpatterns = [
    url(r"^$",
        RegistrationView.as_view(),
        name="register"),

    url(r"^thanks$",
        cache_me(CachableTemplateView.as_view(template_name="thanks.html")),
        name="thanks"),

    url(r"^sorry$",
        cache_me(CachableTemplateView.as_view(template_name="sorry.html")),
        name="problem"),

    url(r"^terms_and_conditions$",
        cache_me(CachableTemplateView.as_view(template_name="terms.html")),
        name="terms"),

    url(r'^confirm-email$',
        EmailConfirmationView.as_view(),
        name='confirm-email'),

    url(r'^edit-company-profile$',
        CompanyProfileEditView.as_view(),
        name='edit-company'),


]

@@ -933,12 +933,10 @@
 pany'),%0A
-%0A%0A
 %5D%0A

Remove whitespace