Thank you both! That is exactly what I was looking for!

Cheers


On Sun, Feb 8, 2009 at 3:34 PM, James Bennett <ubernost...@gmail.com> wrote:

>
> On Sun, Feb 8, 2009 at 5:21 PM, Russell Keith-Magee
> <freakboy3...@gmail.com> 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 part actually isn't necessary; if you pass the first part
> of the module path (e.g., some_module.__path__[0]) as the keyword
> argument "path" to get_svn_revision(), it'll happily go hunt that down
> and calculate the SVN revision of that path rather than Django.
>
>
> --
> "Bureaucrat Conrad, you are technically correct -- the best kind of
> correct."
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to