Django-city
一个基于django的城市模块
快速开始:
安装django-city:
pip install django-city
修改setttings.py:
INSTALLED_APPS = (
...
'city',
...
)
在admin中使用:
from city.admin import CityAdminMixin
class DemoAdmin(CityAdminMixin, admin.ModelAdmin):
pass
在views中使用:
from city.views import CityViewMixin
class DemoView(CityViewMixin):
pass
版本更改:
v0.0.2 添加`CityViewMixin`
v0.0.1 第一版
Metadata
Release files for django-city 0.0.4
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-city-0.0.4.tar.gz | 3.3 kB | Without provenance | Details for django-city-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_city-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for django_city-0.0.4-py3-none-any.whl |
Total release size: 8.7 kB
Release files / django-city-0.0.4.tar.gz
| Download URL | django-city-0.0.4.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
395cf27aa0f6b030d5e20038df489129d0b4d0e464711d0b93d2dae46ae5e873
|
|
BLAKE2b-256 checksum How to use checksums |
b5feb1b4e2d2dca3ad4b4d16e4af85817f974facbd8273dbbe814a2d0d570b30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_city-0.0.4-py3-none-any.whl
| Download URL | django_city-0.0.4-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
600e5baeac8ccc3ab4e36bd632b68210225cfcdbee11af3caf418fdc77ae74e2
|
|
BLAKE2b-256 checksum How to use checksums |
6255523e9e14d245327db7cb45495122cd6bf6eda8901ce5abccd4569cef0435
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-city 0.0.4
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.