Fixed CityAdminMixin change_view error
Project description
一个基于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 第一版
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-city-0.0.4.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file django-city-0.0.4.tar.gz
.
File metadata
- Download URL: django-city-0.0.4.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 395cf27aa0f6b030d5e20038df489129d0b4d0e464711d0b93d2dae46ae5e873 |
|
MD5 | e3e60ed59a51f983c4d654ae278d56be |
|
BLAKE2b-256 | b5feb1b4e2d2dca3ad4b4d16e4af85817f974facbd8273dbbe814a2d0d570b30 |
File details
Details for the file django_city-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: django_city-0.0.4-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 600e5baeac8ccc3ab4e36bd632b68210225cfcdbee11af3caf418fdc77ae74e2 |
|
MD5 | 0bbf0b5c6a7a5b0b9962f1151dbbd6bc |
|
BLAKE2b-256 | 6255523e9e14d245327db7cb45495122cd6bf6eda8901ce5abccd4569cef0435 |