下载和介绍: https://pypi.org/project/django-multiselectfield/
在django ORM的使用中,经常会出现选择的情况,例如:
class person(odels.Model):
sex_type = (('male', '男'), ('female', '女'))
sex = models.CharField(u"性别", …
下载和介绍: https://pypi.org/project/django-multiselectfield/
在django ORM的使用中,经常会出现选择的情况,例如:
class person(odels.Model):
sex_type = (('male', '男'), ('female', '女'))
sex = models.CharField(u"性别", …
~ brew cask uninstall macdown
Error: Cask 'macdown' definition is invalid: invalid 'depends_on macos' …
http://packages.deepin.com/deepin/pool/non-free/d/deepin.com.wechat/
deepin-wine阿里云镜像访问异常,可以使用以下脚本安装最新版deepin-wine
#!/bin/bash
mkdir ./deepintemp
cd ./deepintemp
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine_2.18-22~rc0_all.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32_2.18-22~rc0_i386.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32-preloader_2.18-22~rc0_i386.deb …
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
pip3 install django-aliyun-oss2-storage
# …
sudo apt-get update
sudo apt install python3
sudo apt install python3-pip
pip3 install …