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

Name Error when updating profile - Organisation not defined #282

Closed
alexlittle opened this issue May 21, 2015 · 1 comment
Closed

Name Error when updating profile - Organisation not defined #282

alexlittle opened this issue May 21, 2015 · 1 comment

Comments

@alexlittle
Copy link
Member

NameError at /profile/edit/

global name 'Organisation' is not defined

Request Method: POST
Request URL: http://localhost:8000/profile/edit/
Django Version: 1.7.3
Exception Type: NameError
Exception Value:

global name 'Organisation' is not defined

Exception Location: /home/alex/data/development/django-mpowering/orb/profile/views.py in edit, line 150

/home/alex/data/development/django-mpowering/orb/profile/views.py in edit

                organisation = Organisation()
@alexlittle
Copy link
Member Author

Happens when no organisation given in profile edit form ( and no user profile object exists)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant