Skip to content

javalurker/blogango

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 

Repository files navigation

blogango

blogango is blog app,base django framework with python.

requirements:

  • django1.4
  • django admin site
  • django-taggit
  • jinja2
  • jingo
  • duoshuo. a social comment system

step by step

1、install jinja2,

easy_install jinja2

2、update settings.py:

A、add jingo,update settings.py

TEMPLATE_LOADERS = (
'jingo.Loader',
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
)

B、add django-taggit

C、update INSTALLED_APPS:

...
'blogango',
'taggit',
...

3、you must create duoshuo comment system account,update macros.html

<script type="text/javascript"> var duoshuoQuery = {short_name:"d4blog"}; </script> <script type="text/javascript" src="http://static.duoshuo.com/embed.js" async="true"></script>

update your username

4、sync database

python manage.py syncdb

5、add "(r'^blog/', include('blogango.urls'))" to urls.py

6、run server,

input http://localhost:8000/blog/javalurker in your browser (javalurker is your admin site username;blog is your urls config)

About

blogango是一个基于django框架的python博客APP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published