Add VERSION string

This commit is contained in:
tom christie tom@tomchristie.com 2011-03-17 08:51:26 +00:00
parent c59e63252f
commit 7856656df0
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1 @@
VERSION="0.1.1"

View File

@ -0,0 +1,11 @@
"""Tests for the djangorestframework package setup."""
from django.test import TestCase
import djangorestframework
class TestVersion(TestCase):
"""Simple sanity test to check the VERSION exists"""
def test_version(self):
"""Ensure the VERSION exists."""
djangorestframework.VERSION