Monday, 2 May 2011
Tuesday, 18 August 2009
mod_python with django
well tried mod_python setup under Ubuntu.JJ
Lots of things learnt.
1. httpd.conf is a empty file under apache2. Insert the code you expect to insert here into a file in sites-enabled folder.
2. learn how to use a2ensite, a2dissite - enable or disable an apache2 site / virtual host
2.1 man has enough details on these commands. it's a breeze once you use it.
3. you need to rename mysite.settings in your conf file to whatever your project/site name is. ie if your project is called store then it will be called store.settings. this occurs with error message saying:
ImportError: Could not import settings 'myproject.settings' (Is it on sys.path? Does it have syntax errors?): No module named myproject.settings
Tuesday, 30 December 2008
Django Cheat Sheet (v1.0)
A very cool cheat sheet has been released for followers of Django. Download the PDF from here.
http://www.mercurytide.co.uk/news/article/django-cheat-sheet/
Sunday, 8 July 2007
Django Registration for Newbies
Good articles that explains how to implement a user orientated self registration system. A useful function on most web-sites now days.
http://www.stonemind.net/blog/2007/04/13/django-registration-for-newbies/
http://www.b-list.org/weblog/2006/09/02/django-tips-user-registration
Good but would like to see a revision showing how to implement
http://www.stonemind.net/blog/2007/04/13/django-registration-for-newbies/
http://www.b-list.org/weblog/2006/09/02/django-tips-user-registration
Good but would like to see a revision showing how to implement
Technorati Tags:
django, python
Saturday, 7 July 2007
Adrian Holovaty releases 'templatemaker'
Adrian Holovaty has released a tool called templatemaker. This software is developed in C and Python. It's a Python library for extracting data from similarly formatted text strings.
Find more about it here.
http://www.holovaty.com/blog/archive/2007/07/06/0128
Find more about it here.
http://www.holovaty.com/blog/archive/2007/07/06/0128
Friday, 6 July 2007
Brisbane Python User Group
http://groups.google.com/group/brispy
Meet currently at Milton, Brisbane, Queensland, Australia.
Please join up on google groups and attend if you can.
Technorati Tags:
python
Subscribe to:
Posts (Atom)