1
resposta

Não consegui usar o tempus-dominus

(venv) PS C:\Users\DG\PycharmProjects\Estufa_IA> python manage.py runserver       
Watching for file changes with StatReloader
Exception in thread django-main-thread:
Traceback (most recent call last):
  File "C:\Users\DG\AppData\Local\Programs\Python\Python39\lib\threading.py", line 973, in _bootstrap_inner
    self.run()
  File "C:\Users\DG\AppData\Local\Programs\Python\Python39\lib\threading.py", line 910, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\DG\PycharmProjects\Estufa_IA\venv\lib\site-packages\django\utils\autoreload.py", line 64, in wrapper
    fn(*args, **kwargs)
  File "C:\Users\DG\PycharmProjects\Estufa_IA\venv\lib\site-packages\django\core\management\commands\runserver.py", line 125, in inner_run
    autoreload.raise_last_exception()
  File "C:\Users\DG\PycharmProjects\Estufa_IA\venv\lib\site-packages\django\utils\autoreload.py", line 87, in raise_last_exception
    raise _exception[1]
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'tempus-dominus'
1 resposta

Oi Leticia, consegue mostrar o código do seu arquivo settings.py? Além disso, verificou se estava usando a venv do projeto e se o dominus foi instalado corretamente pelo pip install?