djform-navigation-1.0
توضیحات
Primary key based form navigation to explore next/prev records.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | djform-navigation-1.0 |
| نام | djform-navigation |
| نسخه کتابخانه | 1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sami Akram |
| ایمیل نویسنده | samiakram@live.com |
| آدرس صفحه اصلی | https://github.com/humblesami/djform_navigation.git |
| آدرس اینترنتی | https://pypi.org/project/djform-navigation/ |
| مجوز | - |
**Insallation**
1. `pip install djform_navigation`
2. Add `form_navigation` in installed apps in `settings.py` of django project
INSTALLED_APPS = [
'form_navigation',
# ...
] (at top)
**Description**
It show the preview of every image field in every admin change_form (add/edit) for all models and apps
**Instructions to run the sample usage**
1. `git clone https://github.com/humblesami/djform_navigation.git`
2. `cd djform_navigation/sample_usage`
3. `pip install -r requirements.txt`
*Not required* but if you want to reset the database, you can do this
3.1. `python manage.py initsql.py`
4. `python manage.py runsever`
5. Open following url in your browser and login with given username and password
http://127.0.0.1:8000/admin/login/?next=/admin/login
username
sa
password
123
6. Go to
http://127.0.0.1:8000/admin/form_navigation/model1/add/
7. Add image to check preview
**Make you own pip package**
See https://github.com/humblesami/djform_navigation/blob/master/docs/make_pip.md to make/build/test and upload `your own pip package`
نیازمندی
| مقدار | نام |
|---|---|
| >=3 | Django |
| >=8 | Pillow |
| - | bump2version |
| - | readme-renderer[md] |
| - | git-changelog |
| >=3 | Django |
| >=8 | Pillow |
| - | bump2version |
| - | readme-renderer[md] |
| - | git-changelog |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl djform-navigation-1.0:
pip install djform-navigation-1.0.whl
نصب پکیج tar.gz djform-navigation-1.0:
pip install djform-navigation-1.0.tar.gz