problem with django-videokit-0.0.4

0

I am trying to use django-videokit-0.0.4 to be able to save videos in my models I follow the steps that they give me in the documentation but in the end when I run the server I get this error:

 Unhandled exception in thread started by <function check_errors.        <locals>.wrapper at 0x04EFE8E8>
 Traceback (most recent call last):
 File "C:\Python36-32\lib\site-packages\django-1.11.3-py3.6.egg\django  \utils\autoreload.py", line 227, in wrapper
  fn(*args, **kwargs)
File "C:\Python36-32\lib\site-packages\django-1.11.3-py3.6.egg\django\core\management\commands\runserver.py", line 125, in inner_run
  self.check(display_num_errors=True)
 File "C:\Python36-32\lib\site-packages\django-1.11.3-py3.6.egg\django \core\management\base.py", line 359, in check
  include_deployment_checks=include_deployment_checks,
   File "C:\Python36-32\lib\site-packages\django-1.11.3-py3.6.egg\django\core\management\base.py", line 346, in _run_checks
return checks.run_checks(**kwargs)
  File "C:\Python36-32\lib\site-packages\django-1.11.3-py3.6.egg\django\core\checks\registry.py", line 81, in run_checks
new_errors = check(app_configs=app_configs)
 File "C:\Python36-32\lib\site-packages\django-1.11.3-py3.6.egg\django\core\checks\model_checks.py", line 30, in check_all_models
errors.extend(model.check(**kwargs))
File "C:\Python36-32\lib\site-packages\django-1.11.3-py3.6.egg\django\db\models\base.py", line 1283, in check
errors.extend(cls._check_fields(**kwargs))
File "C:\Python36-32\lib\site-packages\django-1.11.3-py3.6.egg\django\db\models\base.py", line 1358, in _check_fields
errors.extend(field.check(**kwargs))
 File "C:\Python36-32\lib\site-packages\django_videokit-0.0.4-py3.6.egg\videokit\models.py", line 43, in check
File "C:\Python36-32\lib\site-packages\django_videokit-0.0.4-py3.6.egg\videokit\models.py", line 51, in _check_video_utils_installed
 NameError: name 'checks' is not defined

please thank any help or comment. The objective that I want is to be able to save files like videos in one of my models as it would be done using Images if they know otherwise to do so.

    
asked by Pedro Diaz Labiste 26.08.2017 в 17:30
source

0 answers