Skip to content

Instantly share code, notes, and snippets.

@guyjacks
Created December 20, 2017 23:05
Show Gist options
  • Save guyjacks/36413c5b1d3cf9cf11efe45c6ef3b642 to your computer and use it in GitHub Desktop.
Save guyjacks/36413c5b1d3cf9cf11efe45c6ef3b642 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "./manage.py", line 23, in <module>
execute_from_command_line(sys.argv)
File "/Users/guyjacks/.pyenv/versions/orfs/lib/python3.5/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
utility.execute()
File "/Users/guyjacks/.pyenv/versions/orfs/lib/python3.5/site-packages/django/core/management/__init__.py", line 359, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/guyjacks/.pyenv/versions/orfs/lib/python3.5/site-packages/django/core/management/base.py", line 294, in run_from_argv
self.execute(*args, **cmd_options)
File "/Users/guyjacks/.pyenv/versions/orfs/lib/python3.5/site-packages/django/core/management/base.py", line 345, in execute
output = self.handle(*args, **options)
File "/Users/guyjacks/projects/one_raft_first_site/one_raft_first_site/organizations/management/commands/loadlocaldata.py", line 68, in handle
location=factory.SubFactory(location_1),
File "/Users/guyjacks/.pyenv/versions/orfs/lib/python3.5/site-packages/factory/declarations.py", line 390, in __init__
self.factory_wrapper = _FactoryWrapper(factory)
File "/Users/guyjacks/.pyenv/versions/orfs/lib/python3.5/site-packages/factory/declarations.py", line 359, in __init__
"%r instead." % factory_or_path)
ValueError: A factory= argument must receive either a class or the fully qualified path to a Factory subclass; got <UsLocation: 4040 N. High St Suite 15 Columbus, oh. 43214> instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment