Skip to content

Commit

Permalink
changelog + clean
Browse files Browse the repository at this point in the history
  • Loading branch information
ddahan committed Oct 17, 2023
1 parent 4065d27 commit 665e9ce
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,20 @@

## 0.0.2

- FIXME
*See the code diff [here](https://github.com/ddahan/masonkid-dj/compare/5a46c1a83d51f6e74e6cfd2add281b3d54a1ed70...4065d27cec5510b992f031b08398e151d6520fbb)*

- Renamed the Project MasonKid
- Changed tabSize
- Changed auto-import types to relative
- Python 3.11.6
- Removed Black, auto formatting is now handled by Ruff.
- Add custom vscode icon (if using the extension)
- Removed env file for database part as it's useless
- Add macOS .DS_Store to .gitignore
- Add this changelog as an easier way to follow changes
- Automatic app detection in settings
- Apps are added to the path to ensure proper support
- `dj_config` is renamed `config` to include any config


## 0.0.1
Expand Down
9 changes: 1 addition & 8 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
# Create apps in dj_apps folder sothat they are automatically detected
MY_APPS = os.listdir(BASE_DIR / Path(APP_FOLDER))

# Adding apps to the path is required for auto import
for new_path in [APP_FOLDER] + [f"{APP_FOLDER}/{folder}" for folder in MY_APPS]:
sys.path.insert(0, os.path.join(BASE_DIR, new_path))

Expand All @@ -70,14 +71,6 @@
ROOT_URLCONF = "urls"
WSGI_APPLICATION = "config.wsgi.application"

##########################################################################################
# DX: Adding apps to the path is required for auto import
##########################################################################################

APP_ROOT = "dj_apps"
for new_path in [APP_ROOT] + [f"{APP_ROOT}/{folder}" for folder in MY_APPS]:
sys.path.insert(0, os.path.join(BASE_DIR, new_path))


##########################################################################################
# Database
Expand Down

0 comments on commit 665e9ce

Please sign in to comment.