This repository has been archived by the owner on Jul 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alessio Fabiani
committed
Mar 2, 2018
1 parent
1c043e5
commit 320e656
Showing
2 changed files
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
try: | ||
from django.conf.urls import url, patterns | ||
except ImportError: | ||
from django.conf.urls.defaults import url, patterns | ||
from django.conf.urls import url | ||
|
||
urlpatterns = patterns('avatar.views', | ||
url('^add/$', 'add', name='avatar_add'), | ||
url('^change/$', 'change', name='avatar_change'), | ||
url('^delete/$', 'delete', name='avatar_delete'), | ||
url('^render_primary/(?P<user>[\+\w]+)/(?P<size>[\d]+)/$', 'render_primary', name='avatar_render_primary'), | ||
) | ||
from . import views | ||
|
||
urlpatterns = [ # 'avatar.views', | ||
url('^add/$', views.add, name='avatar_add'), | ||
url('^change/$', views.change, name='avatar_change'), | ||
url('^delete/$', views.delete, name='avatar_delete'), | ||
url('^render_primary/(?P<user>[\+\w]+)/(?P<size>[\d]+)/$', views.render_primary, name='avatar_render_primary'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters