Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
96be321
commit 464c14f
Showing
26 changed files
with
3,946 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
PRE-REQUIREMENTS: | ||
----------------------------------------------- | ||
1. Python2.5, MySQL, Django v1.0+ | ||
|
||
2. Python-openid v2.2 | ||
http://openidenabled.com/python-openid/ | ||
|
||
3. django-authopenid(Included in project already) | ||
http://code.google.com/p/django-authopenid/ | ||
|
||
4. html5lib | ||
http://code.google.com/p/html5lib/ | ||
Used for HTML sanitizer | ||
|
||
5. Markdown2 | ||
http://code.google.com/p/python-markdown2/ | ||
|
||
|
||
INSTALL STEPS: | ||
----------------------------------------------- | ||
1. Copy settings_local.py.dist to settings_local.py and | ||
update all your settings. Check settings.py and update | ||
it as well if necessory. | ||
|
||
2. Prepare your database by using the same database/account | ||
configuration from above. | ||
|
||
3. Run "python manager.py runserver" to startup django | ||
development environment. | ||
|
||
4. There are some demo scripts under sql_scripts folder, | ||
including badges and test accounts for CNProg.com. You | ||
don't need them to run your sample. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
��Ȩ����(c) 2008 CNProg.com | ||
Copyright (C) 2009. Chen Gang | ||
|
||
����2.0�汾Apache����֤("����֤")��Ȩ�� | ||
���ݱ�����֤���û����Բ�ʹ�ô��ļ��� | ||
�û��ɴ�������ַ�������֤������ | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
|
||
���������÷�����Ҫ������ͬ�⣬ | ||
��������֤�ַ��������ǻ���"��ԭ��"�����ṩ�� | ||
���κ���ʾ�Ļ�ʾ�ı�֤�������� | ||
�����������֤�����£��ض����ԵĹ�ϽȨ�����ơ� | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from django.conf import settings | ||
def application_settings(context): | ||
return { | ||
'APP_TITLE' : settings.APP_TITLE, | ||
'APP_URL' : settings.APP_URL, | ||
'APP_KEYWORDS' : settings.APP_KEYWORDS, | ||
'APP_DESCRIPTION' : settings.APP_DESCRIPTION, | ||
'APP_INTRO' : settings.APP_INTRO | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# development | ||
|
||
==July 26 2009, Evgeny== | ||
|
||
django_authopenid: | ||
considerably changed user interface | ||
|
||
log/forum/forms.py: | ||
- added tag input validation using regex | ||
- fixed bug with date type mismatch near self.fields['birthday'] = | ||
in EditUserForm.__init__() | ||
|
||
/forum/templatetags/extra_tags.py: | ||
- fixed date type mismatch in get_age() | ||
|
||
/templates/content/js/com.cnprog.post.js: | ||
- fixed bug with post deletion/recovery | ||
|
||
javascript: | ||
- changed to use of non-minified code - better for editing | ||
and debugging | ||
|
||
/templates/question.html: | ||
- fixed display of delete/undelete links | ||
|
||
templates: | ||
added comments in the beginning/end of each template | ||
for the debugging purposes - so that you know which template outputs what html | ||
<!-- user_favorites.html --> | ||
<!-- end user_favorites.html --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.