from django.conf.urls import url, patterns, include

from . import views


urlpatterns = patterns(
    '',
    url(r'^$', views.DonateListView.as_view(), name='donate'),
    url(r'^contribute/$', views.DonateCreateView.as_view(), name='donate_add'),
    url(r'^contribute/thanks$', views.DonateSuccessView.as_view(), name='donate_success'),
)

from django.conf.urls import url, patterns, include

from .views import DonateCreateView
from .views import DonateListView
from .views import DonateSuccessView


urlpatterns = patterns(
    '',
    url(r'^$', DonateListView.as_view(), name='donate'),
    url(r'^contribute/$', DonateCreateView.as_view(), name='donate_add'),
    url(r'^contribute/thanks$', DonateSuccessView.as_view(), name='donate_success'),
)

Resolve linting messages in readthedocs.donate.*
Resolve linting messages in readthedocs.donate.*

  from django.conf.urls import url, patterns, include
  
- from . import views
+ from .views import DonateCreateView
+ from .views import DonateListView
+ from .views import DonateSuccessView
  
  
  urlpatterns = patterns(
      '',
-     url(r'^$', views.DonateListView.as_view(), name='donate'),
+     url(r'^$', DonateListView.as_view(), name='donate'),
-     url(r'^contribute/$', views.DonateCreateView.as_view(), name='donate_add'),
+     url(r'^contribute/$', DonateCreateView.as_view(), name='donate_add'),
-     url(r'^contribute/thanks$', views.DonateSuccessView.as_view(), name='donate_success'),
+     url(r'^contribute/thanks$', DonateSuccessView.as_view(), name='donate_success'),
  )
  
Resolve linting messages in readthedocs.donate.*
## Code Before:
from django.conf.urls import url, patterns, include

from . import views


urlpatterns = patterns(
    '',
    url(r'^$', views.DonateListView.as_view(), name='donate'),
    url(r'^contribute/$', views.DonateCreateView.as_view(), name='donate_add'),
    url(r'^contribute/thanks$', views.DonateSuccessView.as_view(), name='donate_success'),
)

## Instruction:
Resolve linting messages in readthedocs.donate.*
## Code After:
from django.conf.urls import url, patterns, include

from .views import DonateCreateView
from .views import DonateListView
from .views import DonateSuccessView


urlpatterns = patterns(
    '',
    url(r'^$', DonateListView.as_view(), name='donate'),
    url(r'^contribute/$', DonateCreateView.as_view(), name='donate_add'),
    url(r'^contribute/thanks$', DonateSuccessView.as_view(), name='donate_success'),
)
