Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 12, 2020. It is now read-only.
This repository was archived by the owner on Aug 12, 2020. It is now read-only.

not working with latest django 2.1.7 #77

@xiuliren

Description

@xiuliren

this seems a bug from django though:

Traceback (most recent call last):
  File "/home/jingpeng/workspace/django-jquery-file-upload/jwu/lib/python3.6/site-packages/django/utils/autoreload.py", line 225, in wrapper
    fn(*args, **kwargs)
  File "/home/jingpeng/workspace/django-jquery-file-upload/jwu/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 109, in inner_run
    autoreload.raise_last_exception()
  File "/home/jingpeng/workspace/django-jquery-file-upload/jwu/lib/python3.6/site-packages/django/utils/autoreload.py", line 248, in raise_last_exception
    raise _exception[1]
  File "/home/jingpeng/workspace/django-jquery-file-upload/jwu/lib/python3.6/site-packages/django/core/management/__init__.py", line 337, in execute
    autoreload.check_errors(django.setup)()
  File "/home/jingpeng/workspace/django-jquery-file-upload/jwu/lib/python3.6/site-packages/django/utils/autoreload.py", line 225, in wrapper
    fn(*args, **kwargs)
  File "/home/jingpeng/workspace/django-jquery-file-upload/jwu/lib/python3.6/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/jingpeng/workspace/django-jquery-file-upload/jwu/lib/python3.6/site-packages/django/apps/registry.py", line 112, in populate
    app_config.import_models()
  File "/home/jingpeng/workspace/django-jquery-file-upload/jwu/lib/python3.6/site-packages/django/apps/config.py", line 198, in import_models
    self.models_module = import_module(models_module_name)
  File "/home/jingpeng/workspace/django-jquery-file-upload/jwu/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/jingpeng/workspace/django-jquery-file-upload/fileupload/models.py", line 5, in <module>
    class Picture(models.Model):
  File "/home/jingpeng/workspace/django-jquery-file-upload/fileupload/models.py", line 18, in Picture
    @models.permalink
AttributeError: module 'django.db.models' has no attribute 'permalink'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions