============
Django Forum
============
This is a very basic forum application that can plug into any
existing Django installation and use it's existing templates,
users, and admin interface.
It's perfect for adding forum functionality to an existing website.
Development was done on Django SVN rev. 5007. YMMV on other revisions.
Please send comments/suggestions to me directly, ross at rossp dot org.
Google Code Page / SVN: http://code.google.com/p/django-forum/
My Home Page: http://www.rossp.org
Current Status
--------------
* It's very basic in terms of features, but it works and is usable.
* Uses Django Admin for maintenance / moderation - no in-line admin.
* Uses existing django Auth and assumes you already have that up and
running. I use and recommend django-registration [1]
* Roll your own site with little work: Install Django, install
django-registration, flatpages, django-forum, setup your templates
and you have an instant website :)
* Requires a very recent Django SVN checkout, at least 7971 (1.0 alpha is OK)
* Requires python-markdown, and 'django.contrib.markup' in INSTALLED_APPS.
[1] http://code.google.com/p/django-registration/
Getting Started
---------------
1. Checkout code via SVN into your python path.
svn co http://django-forum.googlecode.com/svn/trunk/ forum
3. Add 'forum' to your INSTALLED_APPS in settings.py. Also add
'django.contrib.markup' if you haven't already got it there.
4. ./manage.py syncdb
5. Update urls.py: (r'^forum/', include('forum.urls')),
6. Go to your site admin, add a forum
7. Browse to yoursite.com/forum/
8. Enjoy :)
Note: The forum software can be at any URI you like, just change the relevant
urls.py entry. EG replace 'forum/' with '/' to have your forum at the root
URI, or 'mysite/community/forum/' - whatever you need.
Note: You can include the forum sitemaps in your main sitemap index.
Example:
from forum.urls import sitemap_dict as forum_sitemap
yoursitemap_dict.update(forum_sitemap)
urlpatterns = patterns('',
(r'^sitemap.xml$', 'django.contrib.sitemaps.views.index', {'sitemaps': yoursitemap_dict}),
(r'^sitemap-(?P<section>.+)\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': yoursitemap_dict}),
)
Thanks
------
The following people have contributed code or ideas to this project. Thank
you for all of your efforts:
* mandric
* Eric Moritz
* A. Alibrahim
* marinho
* canburak
* Erik Wickstrom
* Aron Jones
* Sir Steve H
* xphuture
DDTCMS 0.2.3.pre.20090808
4星 · 超过85%的资源 需积分: 0 165 浏览量
更新于2009-11-26
收藏 1.03MB ZIP 举报
a CMS based on django 1.0,supported by Django Dream Team,created by huyoo353 on 2008-NOV-10.
--------------------------------------------------------------------------------
ddtcms ver0.1一些说明:
取消了registration的整合,因为它在google code不弄了,我用了userprofile,功能更强
使用的photologue加了自动修改上传的图片名,采用时间和随机码
--------------------------------------------------------------------------------
ddtcms一些说明:
模板的css参考了聚友网http://www.ogo.cc/index.php
首页index.html的框架用了一点poco网的,最顶端的参考了QQ首页的横条。
模板使用我想让每个app自带模板
views很多没有写,大多用的是generic_views
blog用了分页,news,article继承blog的entry对象
评论使用了django自带的comments
http://127.0.0.1/sitemap.xml 有错误,因为django自带flatpage有问题
http://127.0.0.1/sitemap_blog.xml 可以用
整合了registration,profiles,django-forum,前两者主要是解决了一些模板的问题,就可以用了。以后要完善的就是mysite 的 member模块了。
模板标记中,因为django-forum使用了markdown,所以要下载和安装markdown。
另外,国际化页面,使用了gettext,请到sf下载安装
以上内容见docs/更新历史。txt
还有很多地方要完善,首先要完善的就是的blog中不能发图片,只有photo模块可以发图片,现在比较忙,以后在搞吧,嘿嘿
截图请到我的群相册中去看
我的群号码69930365,Django 梦之队,欢迎讨论时加入,是一个公开小群,来者不拒,上限100人。
代码去除了(.pyc)
rar格式压缩,共计3.6M ,包含了网站截图和一些图片,还有一些参考资料,以及一些模板碎片
忘了说了我的django是1.0版本的
--------------------------------------------------------------------------------
管理帐户/密码 admin/admin
DDTCMS
Summary:
DDTCMS(Django Dream Team's Content Management System),is a CMS based on django 1.0,supported by Django Dream Team,created by huyoo353 on 2008-NOV-10.
http://code.google.com/p/ddtcms/
admin u/p: admin/admin Requirements:
* django 1.0 Django version 1.0 or greater.
* PILThe Python Imaging Library,Source: http://www.pythonware.com/products/pil/
* markdown Markdown is a text-to-HTML conversion tool for web writers. http://daringfireball.net/projects/markdown/
* django-navbar Site navigation controlled from the django admin with: Navigation bar Navigation tree Chained Navigation bars JSON sub tree requests (comming soon) Permission control on which entries are seen http://code.google.com/p/django-wikiapp/
# django-wikiapp Django WikiApp is a pluggable application for Django that aims to provide a complete Wiki (for really small values of "complete") http://code.google.com/p/django-wikiapp/
# django-photologue
# django-forum
# django-tagging
# django-pressroom
# gettext
Optional(needed when you use i18n tags in code or templates)
# Google Data API
Optional(allows image searching) Download it from http://code.google.com/p/gdata-python-client/
# django-profile
http://code.google.com/p/django-profile/
This is a Django pluggable user profile zone which can be used and customized easily in your social application web platform developed in django. App Directory Structure:
appname/
--templates/
----appname/
--templatetags/
糊糊
- 粉丝: 657
- 资源: 2
最新资源
- 基于Pygame库实现新年烟花效果的Python代码
- 浪漫节日代码 - 爱心代码、圣诞树代码
- 睡眠健康与生活方式数据集,睡眠和生活习惯关联分析()
- 国际象棋检测10-YOLO(v5至v9)、COCO、CreateML、Paligemma数据集合集.rar
- 100个情侣头像,唯美手绘情侣头像
- 自动驾驶不同工况避障模型(perscan、simulink、carsim联仿),能够避开预设的(静态)障碍物
- 使用Python和Pygame实现圣诞节动画效果
- 数据分析-49-客户细分-K-Means聚类分析
- 车辆轨迹自适应预瞄跟踪控制和自适应p反馈联合控制,自适应预苗模型和基于模糊p控制均在simulink中搭建 个人觉得跟踪效果相比模糊pid效果好很多,轨迹跟踪过程,转角控制平滑自然,车速在36到72
- 企业可持续发展性数据集,ESG数据集,公司可持续发展性数据(可用于多种企业可持续性研究场景)