1- # toggle-django- utils
1+ # Banjo utils
22
33Reusable Django utilities and management commands for Toggle projects.
44
@@ -17,36 +17,33 @@ Reusable Django utilities and management commands for Toggle projects.
1717
1818** Using [ uv] ( https://github.com/astral-sh/uv ) :**
1919``` bash
20- uv pip install " git+ssh ://git@ github.com/toggle-corp/toggle-django- utils.git@main "
20+ uv pip install " git+https ://github.com/toggle-corp/banjo- utils.git@v0.1.0 "
2121```
2222
2323Or add to your ` pyproject.toml ` :
2424``` toml
2525[project ]
2626dependencies = [
27- " toggle-django -utils" ,
27+ " banjo -utils" ,
2828]
2929
3030[tool .uv .sources ]
31- toggle-django- utils = { git = " https://github.com/toggle-corp/toggle-django- utils" , branch = " main " }
31+ banjo- utils = { git = " https://github.com/toggle-corp/banjo- utils" , tag = " v0.1.0 " }
3232```
3333
3434---
3535
3636## Setup in Django
3737
38- 1 . ** Add to ` INSTALLED_APPS ` in your Django project's ` settings.py ` :**
38+ - ** Add to ` INSTALLED_APPS ` in your Django project's ` settings.py ` :**
3939
4040 ``` python
4141 INSTALLED_APPS = [
4242 # ... your other apps ...
43- " toggle_django_utils " ,
43+ " banjo_utils " ,
4444 ]
4545 ```
4646
47- 2 . (Optional) If your `settings.py` uses custom configs, ensure `" toggle_django_utils" ` remains in the app list .
48-
49-
5047-- -
5148
5249# # Usage
@@ -57,10 +54,10 @@ python manage.py wait_for_resources --db --redis
5754```
5855
5956** Command options:**
60- - ` --db ` & nbsp ;& nbsp ;& nbsp ;& nbsp ; Wait for database
61- - ` --redis ` & nbsp ; Wait for Redis server
62- - ` --minio ` & nbsp ; Wait for Minio (S3 storage)
63- - ` --timeout ` & nbsp ; Set max wait time (seconds)
57+ - ` --db ` : Wait for database
58+ - ` --redis ` : Wait for Redis server
59+ - ` --minio ` : Wait for Minio (S3 storage)
60+ - ` --timeout ` : Set max wait time (seconds)
6461
6562** Examples:**
6663``` bash
0 commit comments