Re: Adding project revision number to templates.

2009-02-08 Thread Dana Woodman
Thank you both! That is exactly what I was looking for! Cheers On Sun, Feb 8, 2009 at 3:34 PM, James Bennett wrote: > > On Sun, Feb 8, 2009 at 5:21 PM, Russell Keith-Magee > wrote: > > 1) Look at django.utils.version.get_svn_revision(). This method tells > > you Django's SVN revision. Make a

Re: Adding project revision number to templates.

2009-02-08 Thread James Bennett
On Sun, Feb 8, 2009 at 5:21 PM, Russell Keith-Magee wrote: > 1) Look at django.utils.version.get_svn_revision(). This method tells > you Django's SVN revision. Make a copy of this method and modify it to > point at your own code, telling you the version of your clients SVN > checkout. The second

Re: Adding project revision number to templates.

2009-02-08 Thread Russell Keith-Magee
On Mon, Feb 9, 2009 at 8:17 AM, Dana wrote: > > Hi all, > > Wondering what the best approach would be to add my projects revision > number to my projects admin? I would like to show the revision number > of my SVNed project in my admin templates so I can easily see what > version each client is r