Thank you so much for the suggestion. I did find the python-svn bindings and came up with a fairly cogent solution. I blogged about it here: http://www.christianposta.com/blog/?p=74
On Apr 2, 8:53 pm, Aryeh Leib Taurog <v...@aryehleib.com> wrote: > On Apr 2, 1:42 am, "christian.posta" <christian.po...@gmail.com> > wrote: > > > I would like to get some feedback on how others display the version of > > their apps to the users of the app. > > > I tag each build/version of the app in SVN when I deploy to my > > clients, but i'm trying to figure out a good way to report that tag > > name. I could manually try to put it into the settings.py module and > > put it into a template, but was wondering what other suggestions or > > options people have done. I guess I could do a full-blown checkout > > (right now it's basically an svn export) and write some python code to > > run an 'svn status' and parse out the tag name. Any other options? > > This is what we have been doing recently. It's painless and robust, > especially since we use mercurial, which is written in python. It > also simplifies deployment. If you decide to do this, consider using > the svn python bindings. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.