[ create a new paste ] login | about

Link: http://codepad.org/U2nGptor    [ raw code | fork ]

Plain Text, pasted on May 5:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Migrations for 'dzen':
  0001_initial.py:
    - Create model DenyzenBase
Traceback (most recent call last):
  File "./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/archie/git/django/django/core/management/__init__.py", line 427, in execute_from_command_line
    utility.execute()
  File "/home/archie/git/django/django/core/management/__init__.py", line 419, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/archie/git/django/django/core/management/base.py", line 288, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/archie/git/django/django/core/management/base.py", line 337, in execute
    output = self.handle(*args, **options)
  File "/home/archie/git/django/django/core/management/commands/makemigrations.py", line 111, in handle
    self.write_migration_files(changes)
  File "/home/archie/git/django/django/core/management/commands/makemigrations.py", line 130, in write_migration_files
    migrations_directory = os.path.dirname(writer.path)
  File "/home/archie/git/django/django/db/migrations/writer.py", line 150, in path
    basedir = os.path.dirname(migrations_module.__file__)
AttributeError: 'module' object has no attribute '__file__'


Create a new paste based on this one


Comments: