pi.comet's python module is available Date: March 21, 2008 Tags: cherrypy , comet , django , javascript , pi , python Comments(2)
I coded a python module to get cross browser output and a CherryPy example is available too.You can get these files in downloads list.You can use this module with any python web framework but there are some problems.Firstly, Django doesn't support multi-threading.And there is no shared hosting for CherryPy ( Webfaction runs CherryPy with CGI, sys.stdout.flush function doesn't work on that application ) I hope we have got more comet friendly web frameworks in the future.
PyWeblog: Simple&Useful Weblog Application Date: March 13, 2008 Tags: django , python Comments(0)
PyWeblog is a Django based open source blog application has written by me.Features:
- Template support (Django contains an advanced template language)
- Django administration interface
- Tagging
- Commenting
- Picture Uploading
Releases:
Installing
- Download latest version and extract anywhere.
- Create a MySQL database to use for this application
- Open settings.py to editing and set DATABASE_NAME,DATABASE_USER AND DATABASE_PASSWORD variables
- Open terminal in where you extracted the files, and type:
>>> python manage.py validate - If manage.py counted zero errors, type this:
>>> python.manage.py syncdb - That's all :)
