To continue my last post about reusable Django apps, I’d like to talk about setuptools, show you a way to install Django by using setuptools and propose the reintroduction into Django’s code, even if setuptools have been dumped by the developers not long ago due to manageability reasons. Features like entry points, egg-files, the develop command, automatic versioning and tight integration with the Python Package Index make it worth installing.
Using Django with setuptools
Reusable apps for Django - django-reusableapps 0.1
django-reusableapps is yet another approach on enabling Django to load reusable, pluggable, egg-based applications without changing the Django sourcecode. Think of plugins or components, e.g. django-registration, django-voting, django-tagging etc.
It uses setuptools for finding, handling and loading egg-based Python modules with a certain “entry point” ('django.apps').
Egg-based Python modules (a.k.a. eggs) are compressed packaged Python modules like Django apps (and “[..] to Pythons as Jars are to Java…”). Every Django app can be converted to an egg distribution by using a special setup.py file.
django-mobileadmin 0.2
I couldn’t keep away from mobileadmin after I got so many nice words from you, thanks for that. I present you django-admin 0.2 (”holy macaroni”, SVN rev. 9-10) which brings the following new features and bugfixes:
- mostly rewritten: css, javascript
- nicer buttons
- larger fonts
- larger tap targets
- better widescreen capabilities
- full filtering and searching (w00t!)
- better checkboxes and radiobuttons
- faster loading, smaller images
- new toolbar and hiding mobilesafari toolbar
- new paginator
- easy access to media path with
mobileadmin.MOBILEADMIN_MEDIA_PATH
The Django admin interface optimized for iPhone/iPod touch
I’m very glad to introduce to you django-mobileadmin 0.1, something which I desperately needed because using the Django admin interface is just kind of annoying with MobileSafari on the iPhone/iPod touch platform.
So, “mobileadmin” is an alternative admin interface for Django for use with the iPhone/iPod touch. Some would call it a theme or a skin, but actually it’s more than that. Well, actually it misses some (very little) functionality of the normal admin interface. Anyway, once installed it is automatically used for any http request coming from a MobileSafari based device by using a nifty midlleware/template loader construct.
If you want to try it out yourself go to code.google.com/p/django-mobileadmin Hope you like it :)
More screenshots also on Flickr: Django admin for iPhone/iPod touch


