stormpath / stormpath-django

Django plugin for Stormpath
Apache License 2.0
38 stars 19 forks source link

AttributeError: type object 'StormpathUser' has no attribute 'create_user' #14

Closed kevgathuku closed 9 years ago

kevgathuku commented 9 years ago

Getting this error when I try to use the UserModel.create_user() method Django 1.7.1, Python 3.4.2, django-stormpath 0.0.2

denibertovic commented 9 years ago

Hi @kevgathuku the create_user method lives on the manager. Try UserModel.objects.create_user. This is an error in the README that I fixed here https://github.com/stormpath/stormpath-django/pull/15

kevgathuku commented 9 years ago

Cool. It works now. Thanks a lot.