Skip to content

Instantly share code, notes, and snippets.

View cjannuzzi's full-sized avatar
:shipit:
Focusing

Caio Jannuzzi cjannuzzi

:shipit:
Focusing
View GitHub Profile
@cjannuzzi
cjannuzzi / settings.py
Created April 21, 2023 20:51
meu setting que apos modificar deu erro
"""
Django's settings for pypro project.
Generated by 'django-admin startproject' using Django 4.2.
For more information on this file, see
https://docs.djangoproject.com/en/4.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/4.2/ref/settings/
@cjannuzzi
cjannuzzi / .gitignore
Created April 21, 2023 15:23
meu gitignore para análise
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
@cjannuzzi
cjannuzzi / errorTerminal.txt
Created April 17, 2023 20:09
erro retornado pelo terminal ao rodar o localmente.
/Users/caiojannuzzi/PycharmProjects/django-curso/.venv/bin/python /Users/caiojannuzzi/PycharmProjects/django-curso/manage.py runserver
Watching for file changes with StatReloader
Exception in thread django-main-thread:
Traceback (most recent call last):
File "/Users/caiojannuzzi/PycharmProjects/django-curso/.venv/lib/python3.11/site-packages/django/apps/config.py", line 210, in create
app_module = import_module(app_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@cjannuzzi
cjannuzzi / logError.txt
Created March 11, 2023 23:01
log de erro que tive ao tentar fazer deploy no pythonanywhere
2023-03-11 22:57:09,123: Error running WSGI application
2023-03-11 22:57:09,125: ModuleNotFoundError: No module named 'django'
2023-03-11 22:57:09,125: File "/var/www/caiojannuzzii_pythonanywhere_com_wsgi.py", line 14, in <module>
2023-03-11 22:57:09,126: from django.core.wsgi import get_wsgi_application
2023-03-11 22:57:09,126: ***************************************************
2023-03-11 22:57:09,126: If you're seeing an import error and don't know why,
2023-03-11 22:57:09,126: we have a dedicated help page to help you debug:
2023-03-11 22:57:09,126: https://help.pythonanywhere.com/pages/DebuggingImportError/
2023-03-11 22:57:09,126: ***************************************************
2023-03-11 22:57:10,106: Error running WSGI application