Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error in @check_authentication #1

Closed
Zizzamia opened this issue Jan 14, 2012 · 0 comments
Closed

Fix error in @check_authentication #1

Zizzamia opened this issue Jan 14, 2012 · 0 comments
Assignees

Comments

@Zizzamia
Copy link
Member

The check_authentication decorator is write in admin.py line 19.

When this decorator is used as below,

@check_authentication
def admin_page():
    pass

it works, but when used by passing one or more parameters doesn't work.

@check_authentication
def admin_page(var_one, var_two):
    pass
@ghost ghost assigned jibbolo Jan 14, 2012
jibbolo added a commit that referenced this issue Jan 14, 2012
@jibbolo jibbolo closed this as completed Jan 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants