Hello!
Is there any difference in using login_required decorator in urls.py and in views.py ? If I put this line:
url(r'^add/$', login_required(views.add_media), name = 'add_media_action')
into urls.py will I achieve the same effect as decorating add_media function in views.py:
@login_required
def add_media(request):
...