摘要:        
django内置登录,注册,退出功能!快速实现业务逻辑,减少前端代码量。 允许注册: 把下面两个app注册到settings.py的INSTALLED_APPS中: pip install django-registration-redux 添加到 apps 中 同步数据库 python manag    阅读全文
posted @ 2020-11-26 17:28
Lofty??
阅读(191)
评论(0)
推荐(0)
        
            
        
        
摘要:        
下载xadmin:pip install https://codeload.github.com/sshwsfc/xadmin/zip/django2 注册app到xadmin后台 admin.py改名为adminx.py,注册到后台 (1)users/adminx.py # users/admin    阅读全文
posted @ 2020-11-26 17:27
Lofty??
阅读(180)
评论(0)
推荐(0)
        
            
        
        
摘要:        
安装 pip install django-coreapipip install pyyaml Schema # settings.py'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.AutoSchema',# 总urls.pyfrom rest_f    阅读全文
posted @ 2020-11-26 17:19
Lofty??
阅读(69)
评论(0)
推荐(0)
        
            
        
        
摘要:        
(1)下载 地址:https://github.com/twz915/DjangoUeditor3/ 解压后,把DjangoUeditor文件夹拷贝到项目目录下面 注意:直接pip install DjangoUeditor的方法会出问题 (2)settings中添加app INSTALLED_AP    阅读全文
posted @ 2020-11-26 09:49
Lofty??
阅读(159)
评论(0)
推荐(0)
        
            
        
        
摘要:        
xadmin的安装 django2.0的安装(源码安装方式): pip install https://codeload.github.com/sshwsfc/xadmin/zip/django2 3.2.xadmin的设置 (1)新建Python Package "extra_apps",把源码x    阅读全文
posted @ 2020-11-26 09:15
Lofty??
阅读(134)
评论(0)
推荐(0)
        
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号