Skip to content
zhimaq git
Python JavaScript Arc Scheme
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
docs
zhimaq
.gitignore
.hgignore
.pydevproject
AUTHORS
LICENSE
README.md
setup.py

README.md

学习django系列 - zhimaq

2012.01.09

install packages for osqa easy_install django easy_install html5lib easy_install markdown easy_install python-openid easy_install south easy_install django-debug-toolbar easy_install mysql-python

sudo ./bin/pip install -U html5lib markdown python-openid django-debug-toolbar mysql-python

syncdb and migrate python manage.py syncdb --all python manage.py migrate forum --fake python manage.py migrate attachments python manage.py migrate python manage.py createsuperuser python manage.py runserver

other error: a. ImportError: cannot import name mark_safe http://wiki.osqa.net/display/docs/Ubuntu+with+Apache+and+MySQL?focusedCommentId=3047880#comment-3047880

In /forum/utils/html.py replace from django.template import mark_safe with from django.utils.safestring import mark_safe

leo

b. django.core.exceptions.ImproperlyConfigured: App with label attachments could not be found --没影响

  • 其他类似产品

Sorted by language

PHP

Question2Answer
cahoots
phpancake
LampCMS
Coordino
Q&A (Is a WordPress Plugin)

Python

ASKBOT
CNPROG
OSQA
soclone
Plurk Solace
FortyTwo

Ruby

Shapado
openoverflow
T002_rails-overflow
SmartR

ASP.NET

stacked ASP.NET

C#

Stack Underflow

JavaScript (JSGI)

kerjakelompok

--END

Something went wrong with that request. Please try again.