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

Import minimálního Profile nefunguje #111

Open
PetrDlouhy opened this issue Sep 8, 2019 · 0 comments
Open

Import minimálního Profile nefunguje #111

PetrDlouhy opened this issue Sep 8, 2019 · 0 comments

Comments

@PetrDlouhy
Copy link
Contributor

Když se pokouším importovat profily pouze s e-maily (minimální varianta, která bych očekával, že se importuje), tak dostanu následující chybu:

Číslo řádku: 1 - 'NoneType' object has no attribute 'save'
userprofile, [email protected], 0, 0, 34
Traceback (most recent call last):
File "/home/petr/.local/share/virtualenvs/aklub_project-HrPEZ5ak/lib/python3.6/site-packages/import_export/resources.py", line 512, in import_row
self.import_obj(instance, row, dry_run)
File "/home/petr/soubory/programovani/Auto-mat/aklub/aklub_project/apps/aklub/admin.py", line 441, in import_obj
obj.save()
AttributeError: 'NoneType' object has no attribute 'save'

příklad souboru:

profile_type | email
-- | --
userprofile | [email protected]
@PetrDlouhy PetrDlouhy changed the title Import minimálního UserProfile nefunguje Import minimálního Profile nefunguje Sep 8, 2019
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

1 participant