docs: fix typo and ensure newline at end of README template
This commit is contained in:
1 file changed
+2
-2
@@ -177,7 +177,7 @@ Run `just` to see all available commands, including:
|
|||||||
├── .env.sample
|
├── .env.sample
|
||||||
└── README.md
|
└── README.md
|
||||||
|
|
||||||
**Note:** For the single folder layout, organize your API endpoints by model name under the `api/` directory.
|
**Note:** For the single folder layout, organize your API endpoints by model name under the `api/` directory.
|
||||||
For example, if you have a `User` model in `models/user.py`, create:
|
For example, if you have a `User` model in `models/user.py`, create:
|
||||||
- `api/user/views.py` - API views for User
|
- `api/user/views.py` - API views for User
|
||||||
- `api/user/serializers.py` - Serializers for User
|
- `api/user/serializers.py` - Serializers for User
|
||||||
@@ -191,4 +191,4 @@ See the README files in `api/` and `models/` directories for more details.
|
|||||||
|
|
||||||
When running in development mode, API documentation is available at:
|
When running in development mode, API documentation is available at:
|
||||||
- Swagger UI: http://localhost:8000/docs/
|
- Swagger UI: http://localhost:8000/docs/
|
||||||
- Schema: http://localhost:8000/schema/
|
- Schema: http://localhost:8000/schema/
|
||||||
Reference in new issue
Block a user