This release is a pre-release and may not be stable for production use.
ویدجت ورود تاریخ جلالی در جنگو
=====
در بعضی مواقع مطلوب است که برای کادر ورود اطلاعات تاریخ بدون نیاز به دانش کاربر تاریخ به صورت مطلوب به سرور اطلاع داده شده و ثبت شود، در واقع هد� اصلی ساخت این ویدجت نمایش تاریخ به شکل شمسی و همچنین سازگاری آن با مدل تاریخ های قبلی است، این ویدجت بدین گونه عمل می کند که اطلاعات درون خود را به قالب شمسی به کاربر نمایش می دهد
بدین معنی که در صورتی که از طر� سرور اطلاعات اولیه ای به کادر وارد شود آن اطلاعات از میلادی به شمسی تبدیل می شود
در صورت عدم وجود آن نیز تاریخ امروز نمایش داده می شود
همچنین این ویدجت در ØÛŒÙ† ثبت داده ÛŒ خود نیز دوباره آن را از قالب شمسی به میلادی تبدیل Ù…ÛŒ کند Ùˆ بدین ترتیب تاریخ در جنگو با Ù�رمت صØÛŒØ ذخیره Ù…ÛŒ شود
برای شروع
-----------
1.Install this package from here or python package index::
python -m pip install django-persiandate-widget
2. Add "persiandate-widget" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = (
...
'persiandate',
)
3. Include the PersianDateInput in your project forms.py like this::
from django import forms
from persiandate.widgets import PersianDateInput
class my_form(forms.Form)
...
my_date = forms.DateField(widget=PersianDateInput)
...
نیازمندی ها
-----------
1.10<jquery<2
نکات
-----------
Jquery javascript file must be included before the datefield or the widget will not work
Metadata
Release files for django-persiandate-widget 1.0b2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-persiandate-widget-1.0b2.zip | 51.5 kB | Without provenance | Details for django-persiandate-widget-1.0b2.zip |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_persiandate_widget-1.0b2-py3-none-any.whl | Python 3 | none | any | Details for django_persiandate_widget-1.0b2-py3-none-any.whl |
Total release size: 99.5 kB
Release files / django-persiandate-widget-1.0b2.zip
| Download URL | django-persiandate-widget-1.0b2.zip |
|---|---|
| Size | 51.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4643460db86b8442ccbed47a1914f1b21cccb29299d1bf6cad1e7558dcb4f6fa
|
|
BLAKE2b-256 checksum How to use checksums |
9ad54de7e46d55c56dedf6a9e8f97a08a0233140923c2a1c50e7f50e8113f579
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_persiandate_widget-1.0b2-py3-none-any.whl
| Download URL | django_persiandate_widget-1.0b2-py3-none-any.whl |
|---|---|
| Size | 48.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2a4c78a3e5b4ca458d11cf7092bfd23ee1aad798ca207ff6cb50a51d1704541
|
|
BLAKE2b-256 checksum How to use checksums |
cb0d1234dd13a2aa556b91d638f276480be7d8161b8615d10f8f48ff2cd81045
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-persiandate-widget 1.0b2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.