使用saveFileDialog导出gridControl中 gridView里的数据
private void button1_Click(object sender, EventArgs e) { saveFileDialog1.ShowDialog(); string filepath = saveFileDialog1.FileName.Trim(); string fstyle =...
django-haystack-and-es
https://github.com/Einsteinish/Django-Haystack-Elasticsearch/tree/master/search_apphttps://zhuanlan.zhihu.com/p/34094103elasticsearch模块: http://www.openskill.cn/article/47elasticsearch是一个CS架构的软件,是一个分布式可扩展的实时搜索和分析引擎,也是一个框架 除了后端在服务器上面装了elasticsearch
原生django-allauth里面的urls
原生django-allauth里面的urlsurlpatterns = [ path("signup/", views.signup, name="account_signup"), path("login/", views.login, name="account_login"), path("logout/", views.logout, name="account_logout"), path("password/change/", views.password_c
WSGIRequest是什么
WSGIRequest是什么print(request)<WSGIRequest: GET '/profile/'>https://blog.csdn.net/caoshou1866/article/details/100959164def profile(request): # return HttpResponse("hello, success") print('request',request) user = request.user emai
django 里面的@login_required
django 里面的@login_requiredhttps://www.cnblogs.com/wodekaifalog/p/10817275.html
django-allauth
django-allauth案例: https://blog.csdn.net/bbwangj/article/details/89093616官方文档: https://django-allauth.readthedocs.io/en/latest/installation.html特别要注意settings.py文件中使用的是SSL加密方式,EMAIL_USE_SSL = True # SSL加密方式报错Django: SocialApp matching query
Django开发的一些技术点(类视图,django-taggit,markdownx)
Django一. 类视图(CBV):https://www.cnblogs.com/chichung/p/9886655.htmlhttps://blog.csdn.net/AI_GG/article/details/103696360https://www.cnblogs.com/knighterrant/p/10503645.htmlhttps://blog.csdn.net/xujin0/article/details/84038778https://blog.csdn.net/xujin
django的中间件是什么
django的中间件是什么http://www.manongjc.com/detail/12-yhgjirxsalgqpew.htmlcsrf: https://www.jianshu.com/p/3b3264061b26
templates里面的一些常用语法
templates里面的一些常用语法<a href="{% url 'users:edit_profile' 9 %}">修改资料</a><a href="/accounts/edit_profile/{{ user.id }}">修改资料</a><form enctype="multipart/form-data" action="/learnformapp/edit_user/{{ nid }}" method="post" novalida
python 利用logging记录日志(一)
python 利用logging记录日志(一)最基本的用法:import logginglogging.debug('debug 信息')logging.info('info 信息')logging.warning('warning 信息')logging.error('error 信息')logging.critical('critial 信息')import logginglogging.basicConfig(format='%(asctime)s - %(pathname)s[l
python利用logging记录日志
python利用logging记录日志logging库采取了模块化的设计,提供了许多组件:记录器Logger,处理器Handler, 过滤器Filter和格式化器Formatter.过滤器用于过滤记录器和处理器Logger暴露了应用程序代码能直接使用的接口Logger对象需要做三件事情,首先,它们向应用代码暴露了很多方法,这样应用就可以在运行时记录消息,其次,记录器对象通过严重程度(默认的过滤设施)或者过滤器对象来决定哪些日志消息需要记录下来.第三,记录器对象将相关的日志消息传递给所有感兴趣
学学Dockerfile
学学DockerfileDockerfile中包括FROM、MAINTAINER、RUN、CMD、EXPOSE、ENV、ADD、COPY、ENTRYPOINT、VOLUME、USER、WORKDIR、ONBUILD等13个指令。下面是一个demo实例,可做学习参考:Dockerfile指令详解 - Ruthless - 博客园 (cnblogs.com)Dockerfile 时区设置 - Ruthless - 博客园 (cnblogs.com)下面我们尝试着使用Dockerfile将django
centos7启动网卡
启动网卡在 vim /etc/sysconfig/network-scripts/ifcfg-eth0里面网卡是开机自启动的,但是重启之后,网卡还是没有启动,需要使用service network restart才生效.没有启动网卡的话就无法使用ssh进行连接服务器.为了解决这个问题,可以执行一下命令:systemctl enable network/sbin/chkconfig network on使用以下命令查看sshd是否启动systemctl start sshdsystemct
vue 请求接口获取数据
vue 请求接口获取数据1.链接:https://www.cnblogs.com/kymming/p/6484626.html<!doctype html><html> <head> <meta charset="UTF-8"> <title>获取图片列表</title> <meta name="viewport" content="width=device-width
bootstrap file input多文件上传插件
bootstrap file input多文件上传插件文章链接: https://blog.csdn.net/y19910825/article/details/80242331 https://blog.csdn.net/qq_41520636/article/details/82928825
周排行