djangosnippets.org: Latest snippets posted by kahlesshttps://djangosnippets.org/users/kahless/2007-06-16T11:00:17.426863-05:00kahlessSimple solution for model schema evolution / database changelog
2007-06-16T11:00:17.426863-05:00kahlesshttps://djangosnippets.org/snippets/289/<p>This is a very simple approach to "schema evolution" (Not sure if you can even call it so) - I use it for my project: <a href="http://sct.sphene.net">SCT</a> and it seems to work quite nicely.</p>
<p>The idea is, that if you add or change your models, you add a 'changelog' attribute to …</p>
Freely redistributableMiddleware to log username into apache logs with mod_python
2007-03-01T16:53:37.204643-06:00kahlesshttps://djangosnippets.org/snippets/68/<p>This very simple middleware will set the 'user' attribute of a mod_python request.. this way the username is logged into the apache log ... useful when making webalizer statistics to see the activity of users ..
</p>
<p>(http://sct.sphene.net)
</p>
Freely redistributable