from django.conf.urls.defaults import patterns
from django.conf.urls.defaults import url


urlpatterns = patterns('pytask.profile.views',
  url(r'^view/$', 'view_profile', name='view_profile'),
  url(r'^edit/$', 'edit_profile', name='edit_profile'),
  url(r'^notf/browse/$', 'browse_notifications',
      name='edit_profile'),
  url(r'^notf/view/(?P<notification_id>\d+)$', 'view_notification',
      name='view_notification'),
  url(r'^notf/del/(?P<notification_id>\d+)$', 'delete_notification',
      name='delete_notification'),
  url(r'^notf/unr/(?P<notification_id>\d+)$', 'unread_notification',
      name='unread_notification'),
  url(r'^user/view/(?P<user_id>\d+)$', 'view_user',
      name='view_user'),
)

from django.conf.urls.defaults import patterns
from django.conf.urls.defaults import url


urlpatterns = patterns('pytask.profile.views',
  url(r'^view/$', 'view_profile', name='view_profile'),
  url(r'^edit/$', 'edit_profile', name='edit_profile'),
  url(r'^notification/browse/$', 'browse_notifications',
      name='browse_notifications'),
  url(r'^notification/view/(?P<notification_id>\d+)$',
      'view_notification', name='view_notification'),
  url(r'^notification/delete/(?P<notification_id>\d+)$',
      'delete_notification', name='delete_notification'),
  url(r'^notification/unread/(?P<notification_id>\d+)$',
      'unread_notification', name='unread_notification'),
  url(r'^user/view/(?P<user_id>\d+)$', 'view_user',
      name='view_user'),
)

Fix styling issue in URLConf.
Fix styling issue in URLConf.

  from django.conf.urls.defaults import patterns
  from django.conf.urls.defaults import url
  
  
  urlpatterns = patterns('pytask.profile.views',
    url(r'^view/$', 'view_profile', name='view_profile'),
    url(r'^edit/$', 'edit_profile', name='edit_profile'),
-   url(r'^notf/browse/$', 'browse_notifications',
+   url(r'^notification/browse/$', 'browse_notifications',
-       name='edit_profile'),
-   url(r'^notf/view/(?P<notification_id>\d+)$', 'view_notification',
-       name='view_notification'),
-   url(r'^notf/del/(?P<notification_id>\d+)$', 'delete_notification',
-       name='delete_notification'),
-   url(r'^notf/unr/(?P<notification_id>\d+)$', 'unread_notification',
-       name='unread_notification'),
+       name='browse_notifications'),
+   url(r'^notification/view/(?P<notification_id>\d+)$',
+       'view_notification', name='view_notification'),
+   url(r'^notification/delete/(?P<notification_id>\d+)$',
+       'delete_notification', name='delete_notification'),
+   url(r'^notification/unread/(?P<notification_id>\d+)$',
+       'unread_notification', name='unread_notification'),
    url(r'^user/view/(?P<user_id>\d+)$', 'view_user',
        name='view_user'),
  )
  
Fix styling issue in URLConf.
## Code Before:
from django.conf.urls.defaults import patterns
from django.conf.urls.defaults import url


urlpatterns = patterns('pytask.profile.views',
  url(r'^view/$', 'view_profile', name='view_profile'),
  url(r'^edit/$', 'edit_profile', name='edit_profile'),
  url(r'^notf/browse/$', 'browse_notifications',
      name='edit_profile'),
  url(r'^notf/view/(?P<notification_id>\d+)$', 'view_notification',
      name='view_notification'),
  url(r'^notf/del/(?P<notification_id>\d+)$', 'delete_notification',
      name='delete_notification'),
  url(r'^notf/unr/(?P<notification_id>\d+)$', 'unread_notification',
      name='unread_notification'),
  url(r'^user/view/(?P<user_id>\d+)$', 'view_user',
      name='view_user'),
)

## Instruction:
Fix styling issue in URLConf.
## Code After:
from django.conf.urls.defaults import patterns
from django.conf.urls.defaults import url


urlpatterns = patterns('pytask.profile.views',
  url(r'^view/$', 'view_profile', name='view_profile'),
  url(r'^edit/$', 'edit_profile', name='edit_profile'),
  url(r'^notification/browse/$', 'browse_notifications',
      name='browse_notifications'),
  url(r'^notification/view/(?P<notification_id>\d+)$',
      'view_notification', name='view_notification'),
  url(r'^notification/delete/(?P<notification_id>\d+)$',
      'delete_notification', name='delete_notification'),
  url(r'^notification/unread/(?P<notification_id>\d+)$',
      'unread_notification', name='unread_notification'),
  url(r'^user/view/(?P<user_id>\d+)$', 'view_user',
      name='view_user'),
)
