Skip to content
Browse files

Harcore renaming action.

  • Loading branch information...
1 parent b8c1de0 commit dd3251a1fcb7b9b7eba3ca74585c7c6c410a616f @gregmuellegger committed Oct 16, 2010
View
4 README.rst
@@ -1,2 +1,2 @@
-django-appname
-==============
+django-mobile
+=============
View
6 appname_tests/tests.py
@@ -1,6 +0,0 @@
-from django.test import TestCase
-
-
-class AppnameTests(TestCase):
- def test_appname(self):
- self.fail()
View
0 appname_tests/__init__.py → django_mobile/__init__.py
File renamed without changes.
View
0 appname_tests/models.py → django_mobile/models.py
File renamed without changes.
View
0 appname/__init__.py → django_mobile_tests/__init__.py
File renamed without changes.
View
0 appname/models.py → django_mobile_tests/models.py
File renamed without changes.
View
6 django_mobile_tests/tests.py
@@ -0,0 +1,6 @@
+from django.test import TestCase
+
+
+class MobileTests(TestCase):
+ def test_detection(self):
+ self.fail()
View
4 runtests.py
@@ -12,8 +12,8 @@
def runtests(*args):
failures = run_tests(
args or [
- 'appname',
- 'appname_tests',
+ 'django_mobile',
+ 'django_mobile_tests',
],
verbosity=1, interactive=True)
sys.exit(failures)
View
10 settings.py
@@ -37,7 +37,7 @@
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
-MEDIA_ROOT = os.path.join(PROJECT_ROOT, 'appname_tests', 'media')
+MEDIA_ROOT = os.path.join(PROJECT_ROOT, 'django_mobile_tests', 'media')
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
@@ -66,10 +66,10 @@
'django.middleware.doc.XViewMiddleware',
)
-ROOT_URLCONF = 'appname_tests.urls'
+ROOT_URLCONF = 'django_mobile_tests.urls'
TEMPLATE_DIRS = (
- os.path.join(PROJECT_ROOT, 'appname_tests', 'templates'),
+ os.path.join(PROJECT_ROOT, 'django_mobile_tests', 'templates'),
)
INSTALLED_APPS = (
@@ -80,8 +80,8 @@
'django.contrib.admin',
'django_extensions',
- 'appname',
- 'appname_tests',
+ 'django_mobile',
+ 'django_mobile_tests',
)
TEMPLATE_CONTEXT_PROCESSORS = (
View
6 setup.py
@@ -31,9 +31,9 @@ def split(self, *args, **kw):
setup(
- name = 'django-appname',
+ name = 'django-mobile',
version = '0.1.0pre',
- url = 'https://github.com/gregmuellegger/django-appname',
+ url = 'https://github.com/gregmuellegger/django-mobile',
license = 'BSD',
description = '',
long_description = long_description,
@@ -50,7 +50,7 @@ def split(self, *args, **kw):
'Programming Language :: Python',
],
packages = [
- 'appname',
+ 'django_mobile',
],
install_requires = ['setuptools'],
test_suite = 'runtests.runtests',

0 comments on commit dd3251a

Please sign in to comment.
Something went wrong with that request. Please try again.