惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
WordPress大学
WordPress大学
博客园 - 【当耐特】
Engineering at Meta
Engineering at Meta
IT之家
IT之家
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
美团技术团队
S
SegmentFault 最新的问题
The GitHub Blog
The GitHub Blog
Martin Fowler
Martin Fowler
Recorded Future
Recorded Future
H
Help Net Security
aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
博客园_首页
A
About on SuperTechFans
MongoDB | Blog
MongoDB | Blog
阮一峰的网络日志
阮一峰的网络日志
V
Visual Studio Blog
D
DataBreaches.Net
人人都是产品经理
人人都是产品经理
大猫的无限游戏
大猫的无限游戏
B
Blog
The Register - Security
The Register - Security
I
InfoQ
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
雷峰网
雷峰网
Last Week in AI
Last Week in AI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
Blog — PlanetScale
Blog — PlanetScale
N
Netflix TechBlog - Medium
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
有赞技术团队
有赞技术团队
Stack Overflow Blog
Stack Overflow Blog
Jina AI
Jina AI
Security Archives - TechRepublic
Security Archives - TechRepublic
Hacker News - Newest:
Hacker News - Newest: "LLM"
U
Unit 42
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
W
WeLiveSecurity
Latest news
Latest news
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
博客园 - 叶小钗
L
Lohrmann on Cybersecurity
博客园 - Franky
Recent Commits to openclaw:main
Recent Commits to openclaw:main
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO

博客园 - 观无明

IE9 + django开发版WEB服务器 不响应或Socket报错 google chrome 下django用户登录失败的问题 django 开发多语言网站 不愁男女比例不协调 Word文件如源码一样也可比较和合并 python 的字符编码和中文处理 - 观无明 - 博客园 djang 测试心得 nginx+fastcgi+django实践笔记 django 开发 - 小心模板文件的编码格式(utf-8) 汉王电子书D20使用笔记 使用south实现Django的数据库升级迁移 VIM 笔记 (for python ) 在Windows上使用Linux命令 cygwin 仍有人在真心关注这灾难 CruiseControl中应用NCover和NCoverExplore CruiseControl中使用NUnit中测试WEB服务 Resharper封装(Encapsulate)域Field为属性Property的命名问题 数据库开发的持续集成 - CruiseControl.Net的项目配置 数据库开发的持续集成 - Liquibase的简介和应用
my django development environment (virtualenv+pip+django)
观无明 · 2010-05-13 · via 博客园 - 观无明

Steps

  • download and install Python
  • download and install setuptool, please choose right setuptool version which matches python version
  • make a virtualenv
    • > virtualenv yourenvname
  • install pip
    • > easy_install pip
  • make a requirement file, a file indicates packages required by your virtual environment, save it to requirement.txt and put it in directory yourenvname

django-pagination
django-registration
Django
South

flup

  • install packages required
    • yourenvname> pip install –r requirement.txt
  • start your django project and django application
    • yourenvname> django-admin.py startproject yourprojectname
    • yourprojectname> django-admin.py mange.py yourappname
    • yourprojectname>python mange.py syncdb

Trouble Shooting

<></>

Action Error Solution
run django-admin.py Type 'django-admin.py help' for usage Modify registry of file association:
"C:\Python25\python.exe" "%1" %*
     

Package List

Previously, some packages I recommend are listed in requirement file. Forget about my recommendation, you can have any package you want in it. Here is description for some package.

Name Description
django-registration

This application enables a common user-registration workflow: registration with a email

Various methods of extending and customizing the registration process are also provided.

django-pagination A set of utilities for creating robust pagination tools throughout a django application.
South South, likes migration of Ruby on Rails, is a tool to provide consistent, easy-to-use and database-agnostic migrations for Django applications.
flup Make your django web site support FastCGI, SCGI and AJP and work with nginx, apache and lighttpd