I'm getting a number of Django requests from users. Django is a Python-based web application framework similar to Ruby on Rails but with several advantages over RoR. cPanel did such a nice job with the Ruby on Rails integration, it sure would be nice to see parallel integration of Django.
Dreamhost recently rolled out official Django support and we don't want to lose users to Dreamhost.
Deployment should be via mod_wsgi, not mod_python (mod_wsgi provides much better performance and configurability). The current approach to setting up Django on cPanel is to compile the module manually, which is fairly tricky to do right, with libraries linked properly so they don't consume too much memory, and then to set up properly configured custom vhosts and .wsgi files for individual sites, all of which is fiddly and error prone (and not possible for users to do on their own). For details on the current setup approach, see links below.
Finally, because EasyApache doesn't know about mod_wsgi, the custom-compiled library is literally blown away every time you recompile Apache, which means you have to remember to restore the module from a backup copy after each recompile - another pain.
Ideally, admins would be able to enable either global or per-user Django support, and users would be able to set up new Django sites themselves, from within cPanel. Users would need the ability to restart their sites / .wsgi processes (the favored method is to simply "touch mysite.wsgi" but this could be done via cPanel), and the mod_wsgi lib would not get erased when Apache was recompiled.
Note: This feature request is a continuation of this thread, which resulted in this bugzilla ticket.


LinkBack URL
About LinkBacks

.