You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please share your idea!
The use of a static_files is evident and repeated throughout my use of Pyttman.
I end up creating a folder in my apps called static_dir and then setting the path in settings.py as:
STATIC_FILES_DIR = APP_BASE_DIR / "static_files"
Additional context
The app structure should have a static_files folder out of the box.
Edit the settings.py file in said template (above) and add STATIC_FILES_DIR = APP_BASE_DIR / "static_files" making it convenient to access in the application as app.settings.STATIC_FILES_DIR
The text was updated successfully, but these errors were encountered:
Please share your idea!
The use of a
static_files
is evident and repeated throughout my use of Pyttman.I end up creating a folder in my apps called
static_dir
and then setting the path insettings.py
as:STATIC_FILES_DIR = APP_BASE_DIR / "static_files"
Additional context
The app structure should have a
static_files
folder out of the box.Create this directory in the template project here:
https://github.com/Hashmap-Software-Agency/pyttman-project-template
Edit the
settings.py
file in said template (above) and addSTATIC_FILES_DIR = APP_BASE_DIR / "static_files"
making it convenient to access in the application asapp.settings.STATIC_FILES_DIR
The text was updated successfully, but these errors were encountered: