- 浏览: 2596093 次
- 来自: 杭州
文章分类
- 全部博客 (1190)
- webwork (4)
- 网摘 (18)
- java (104)
- hibernate (1)
- Linux (85)
- 职业发展 (1)
- activeMQ (2)
- netty (15)
- svn (1)
- webx3 (12)
- mysql (81)
- css (1)
- HTML (6)
- apache (3)
- 测试 (2)
- javascript (1)
- 储存 (1)
- jvm (5)
- code (13)
- 多线程 (12)
- Spring (18)
- webxs (2)
- python (119)
- duitang (0)
- mongo (3)
- nosql (4)
- tomcat (4)
- memcached (20)
- 算法 (28)
- django (28)
- shell (1)
- 工作总结 (5)
- solr (42)
- beansdb (6)
- nginx (3)
- 性能 (30)
- 数据推荐 (1)
- maven (8)
- tonado (1)
- uwsgi (5)
- hessian (4)
- ibatis (3)
- Security (2)
- HTPP (1)
- gevent (6)
- 读书笔记 (1)
- Maxent (2)
- mogo (0)
- thread (3)
- 架构 (5)
- NIO (5)
- 正则 (1)
- lucene (5)
- feed (4)
- redis (17)
- TCP (6)
- test (0)
- python,code (1)
- PIL (3)
- guava (2)
- jython (4)
- httpclient (2)
- cache (3)
- signal (1)
- dubbo (8)
- HTTP (4)
- json (3)
- java socket (1)
- io (2)
- socket (22)
- hash (2)
- Cassandra (1)
- 分布式文件系统 (5)
- Dynamo (2)
- gc (8)
- scp (1)
- rsync (1)
- mecached (0)
- mongoDB (29)
- Thrift (1)
- scribe (2)
- 服务化 (3)
- 问题 (83)
- mat (1)
- classloader (2)
- javaBean (1)
- 文档集合 (27)
- 消息队列 (3)
- nginx,文档集合 (1)
- dboss (12)
- libevent (1)
- 读书 (0)
- 数学 (3)
- 流程 (0)
- HBase (34)
- 自动化测试 (1)
- ubuntu (2)
- 并发 (1)
- sping (1)
- 图形 (1)
- freemarker (1)
- jdbc (3)
- dbcp (0)
- sharding (1)
- 性能测试 (1)
- 设计模式 (2)
- unicode (1)
- OceanBase (3)
- jmagick (1)
- gunicorn (1)
- url (1)
- form (1)
- 安全 (2)
- nlp (8)
- libmemcached (1)
- 规则引擎 (1)
- awk (2)
- 服务器 (1)
- snmpd (1)
- btrace (1)
- 代码 (1)
- cygwin (1)
- mahout (3)
- 电子书 (1)
- 机器学习 (5)
- 数据挖掘 (1)
- nltk (6)
- pool (1)
- log4j (2)
- 总结 (11)
- c++ (1)
- java源代码 (1)
- ocr (1)
- 基础算法 (3)
- SA (1)
- 笔记 (1)
- ml (4)
- zokeeper (0)
- jms (1)
- zookeeper (5)
- zkclient (1)
- hadoop (13)
- mq (2)
- git (9)
- 问题,io (1)
- storm (11)
- zk (1)
- 性能优化 (2)
- example (1)
- tmux (1)
- 环境 (2)
- kyro (1)
- 日志系统 (3)
- hdfs (2)
- python_socket (2)
- date (2)
- elasticsearch (1)
- jetty (1)
- 树 (1)
- 汽车 (1)
- mdrill (1)
- 车 (1)
- 日志 (1)
- web (1)
- 编译原理 (1)
- 信息检索 (1)
- 性能,linux (1)
- spam (1)
- 序列化 (1)
- fabric (2)
- guice (1)
- disruptor (1)
- executor (1)
- logback (2)
- 开源 (1)
- 设计 (1)
- 监控 (3)
- english (1)
- 问题记录 (1)
- Bitmap (1)
- 云计算 (1)
- 问题排查 (1)
- highchat (1)
- mac (3)
- docker (1)
- jdk (1)
- 表达式 (1)
- 网络 (1)
- 时间管理 (1)
- 时间序列 (1)
- OLAP (1)
- Big Table (0)
- sql (1)
- kafka (1)
- md5 (1)
- springboot (1)
- spring security (1)
- Spring Boot (3)
- mybatis (1)
- java8 (1)
- 分布式事务 (1)
- 限流 (1)
- Shadowsocks (0)
- 2018 (1)
- 服务治理 (1)
- 设计原则 (1)
- log (0)
- perftools (1)
最新评论
-
Aqu415:
,默认是netty还是hassion?
dubbo入门 -
siphlina:
课程——基于Python数据分析与机器学习案例实战教程分享网盘 ...
Python机器学习库 -
san_yun:
leibnitz 写道hi,我想知道,无论在92还是94版本, ...
hbase的行锁与多版本并发控制(MVCC) -
leibnitz:
hi,我想知道,无论在92还是94版本,更新时(如Puts)都 ...
hbase的行锁与多版本并发控制(MVCC) -
107x:
不错,谢谢!
Latent Semantic Analysis(LSA/ LSI)算法简介
http://stackoverflow.com/questions/2125588/anyone-think-djangos-user-model-is-too-tightly-coupled-with-auth
发表评论
-
django 处理unicode编码
2013-04-28 22:18 2758django.util.encoding.py impor ... -
django lazy user实现
2013-04-26 15:48 1161代码如下: from people.service ... -
django db models探索
2013-03-24 16:04 1719一、django db models结构 django ... -
django + sqlalchemy pool 测试
2013-03-15 22:59 13071.修改gevent /duitang/dist/sys ... -
django template探索
2013-01-04 18:18 1216由于需要解决django template问题,研究了djan ... -
django db backends探索
2012-12-29 18:20 2397由于需要解决django db长连接的问题,最近看了看djan ... -
MySQL Connection Pooling with Django and SQLAlchemy
2012-12-28 21:54 0Here's a quick and dirty recipe ... -
Launching a High Performance Django Site
2012-12-28 21:39 1036Are the brakes on your Django a ... -
django 性能优化
2012-12-28 17:24 2062django默认的一些系统性能低下,无法支撑大流量请求,一些优 ... -
让Django支持数据库长连接
2012-12-28 17:05 1740原文:http://www.cnblogs.com ... -
django 的BaseMemcachedCache线程安全问题
2012-10-21 15:11 1069注意,django.core.cache.backends.m ... -
django request 获取请求的URL
2012-10-17 17:17 22007request.get_host() 获取请求地址 ... -
python uwsgi
2012-07-30 17:21 0之前的文章已经提到了 django+fastcgi的运行并 ... -
在生产系统使用Tornado WebServer来代替FastCGI加速你的Django应用
2012-07-30 17:19 5原文:http://www.cnblogs.com/Alexa ... -
python web.py
2012-07-30 17:04 898使用web.py能快速启动一个web服务。 # -*- c ... -
浅析 Django runserver 的 autoreload 功能
2012-07-30 16:53 5110浅析 Django runserver 的 auto ... -
django auth_user.get_profile
2012-07-24 12:29 2567django 对 auth_user 提供了扩展get_pro ... -
django + postfix 搭建邮件服务
2012-07-23 14:48 1339email 配置: SERVER_EMAIL = &q ... -
django 中文问题
2012-07-17 16:45 1544好像每个国外的开源框架都会遇到中文问题,今天又被django ... -
django 的关联ID
2012-07-16 17:52 969blog.album_id 是直接取外键 blog.album ...
相关推荐
Django-model2extjs Model2extjs 是一个简单的 Django 应用程序,用于从 Django 模型生成 Extjs 代码(网格、表单和模型)。描述有时,如果我们使用 Django 和 Extjs,我们可能必须在 Extjs 应用程序的许多地方编写...
class User(models.Model): name = models.CharField(max_length=255) room = models.ForeignKey(Room, db_constraint=False) class Room(models.Model): status = models.IntegerField(default=1) 补充知识:...
今天,在家试试django的model的设置,如何设置的联合主键,我经过查资料和实践,把结果记录如下: 例如: class user(Model): id=AutoField(primary_key=True) name = CharField(max_length=30) age =...
AUTH_USER_MODEL = “EcdsApp.UserProfile” 本人的项目需要对此表进行扩展,再建两个子表关联这个表,关联关系为一对一: 修改完成之后进行子表关联: from django.contrib.auth.models import AbstractUser, ...
在项目中我们每个app对应不同的数据库,其中有一个是从数据库逆向生成model,做个笔记。 1、修改项目的setting.py配置 : DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # 默认用mysql '...
《Django model update的各种用法介绍》文章介绍了Django model的各种update操作,这篇文章就是她的姊妹篇,详细介绍Django model select的用法,配以对应MySQL的查询语句,理解起来更轻松。 基本操作 # 获取所有...
Chapter 20: Dealing with the User Model Chapter 21: Django's Secret Sauce: Third-Party Packages Chapter 22: Testing Chapter of Doom! Chapter 23: Documentation: Be Obsessed Chapter 24: Finding and ...
Proceed step-by-step through five progressively more complex web applications: from a "Hello World" app all the way to a robust Newspaper app with a custom user model, complete user authentication ...
Exploring the Model with Django’s Admin Interface 251 Creating the Views 255 Summary 273 Chapter 9: Django Views and Users 275 Template Inheritance 276 The DRY Problem 276 Defining a Base ...
Understand the Model-View-Controller (MVC) architecture, compare it to Model-Template-Views, and gain a holistic understanding of Django’s structure Write as little code as possible, simplify code ...
class User(models.Model): username = models.CharField(max_length=255, unique=True, verbose_name='\u7528\u6237\u540d') is_active = models.BooleanField(default=False, verbose_name='\u6fc0\u6d3b\u72b6\...
Chapter 20: Dealing with the User Model Chapter 21: Django's Secret Sauce: Third-Party Packages Chapter 22: Testing Chapter of Doom! Chapter 23: Documentation: Be Obsessed Chapter 24: Finding and ...
Chapter 8:Custom User Model Chapter 9:User Authentication Chapter 10:Bootstrap Chapter 11:Password Change and Reset Chapter 12:Email Chapter 13:Newspaper app Chapter 14:Permissions and Authorization ...
Table of Contents Chapter 1: Introduction to the Django Framework ...Chapter 10: Django User Management Chapter 11: Django admin Management Chapter 12: REST Services with Django Appendix A: Python Basics
class UserInfo(models.Model): id = models.BigAutoField(primary_key=True) user_name = models.CharField(max_length=100, verbose_name='\u7528\u6237\u540d') cellphone = models.CharField(max_length=100,...
Django可交换模型-不再仅适用于auth.User! Swapper是非官方的API,用于但功能非常强大的Django功能:可交换模型。 Swapper有助于在您自己的可重用应用程序中实现任意可交换模型。 动机 假设您的可重用应用程序具有...
一、使用django自带的user做外键,可以直接在model中使用。只需导入settings模块 使用方法: 在app应用(此处是Product应用)中的models.py文件,导入settings模块 # Product / models.py from django.db import ...
Build a database structure out of reusable model mixins Manage forms and views and get to know some useful patterns that are used to create them Create handy template filters and tags that you can ...
The user data model 35 The bookmark data model 36 Templates: creating a template for the main page 38 Putting it all together: generating user pages 40 Creating the URL 40 Writing the view 41 ...
class UserSchema ( ModelSchema ): class Config : model = User UserSchema . schema () 上面的模式调用将返回如下内容: { "title" : "UserSchema" , "description" : "A user of the application." , ...