Skip to content

Commit edb9d55

Browse files
committed
update readme
1 parent e369a89 commit edb9d55

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ This generates a fully functioning apis using generated serializers and class-vi
66
1. Install it in your django project `pip install django-rest-gen`.
77
2. Run it and specify your app `python -m django-rest-gen`. You should also
88
specify the appropriate arguments (e.g., ` python -m django-rest-gen --settings iires/settings.py --apppath iirapp`)
9+
*Note: if the file already exists and is not empty, the content will be printed instead in the stdout*
10+
911
## Arguments
1012
```
1113
usage: django-rest-gen [-h] [--pythonpath PYTHONPATH] --settings SETTINGS --apppath APPPATH [--views VIEWS]
@@ -24,3 +26,8 @@ optional arguments:
2426

2527
# Limitations
2628
* Flat. No nesting is provided as it depends on user preferences.
29+
30+
31+
# Rebuild package
32+
1. `python3 -m build`
33+
2. `python3 -m twine upload dist/*`

0 commit comments

Comments
 (0)