Pinax

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第25行: 第25行:
 
==Code==
 
==Code==
 
  svn checkout https://svn.pinaxproject.com/pinax/trunk/ pinax
 
  svn checkout https://svn.pinaxproject.com/pinax/trunk/ pinax
 +
*http://github.com/pinax/pinax/
 +
*http://code.pinaxproject.com/
 +
==Install==
 +
 
==PostgreSQL==
 
==PostgreSQL==
 
  #apt-get install python-psycopg //Django 1.0.2好像不支持python-psycopg2  
 
  #apt-get install python-psycopg //Django 1.0.2好像不支持python-psycopg2  

2010年1月10日 (日) 03:40的版本

Pinax: a platform for rapidly developing websites

Pinax is an open-source collection of integrated, but reusable apps for the Django Web Framework.

目录

Features

  • openid support
  • email verification
  • password management
  • site announcements
  • a notification framework
  • user-to-user messaging
  • friend invitation (both internal and external to the site)
  • a basic twitter clone
  • oembed support
  • gravatar support
  • interest groups (called tribes)
  • projects with basic task and issue management
  • threaded discussions
  • wikis with multiple markup support
  • blogging
  • bookmarks
  • tagging
  • contact import (from vCard, Google or Yahoo)
  • photo management

Code

svn checkout https://svn.pinaxproject.com/pinax/trunk/ pinax

Install

PostgreSQL

#apt-get install python-psycopg //Django 1.0.2好像不支持python-psycopg2 
vi settings.py
DATABASE_ENGINE = 'postgresql'  
DATABASE_NAME = 'pinax'      
DATABASE_USER = 'postgres'          
DATABASE_PASSWORD =         
DATABASE_HOST = 'localhost'             
DATABASE_PORT = '5432' 
python manage.py syncdb

File "/usr/lib/python2.5/site-packages/django/db/backends/postgresql/base.py", line 19, in <module>

   raise ImproperlyConfigured("Error loading psycopg module: %s" % e)

django.core.exceptions.ImproperlyConfigured: Error loading psycopg module: No module named psycopg

Nginx

Integration

Links

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱