Permalink
Browse files

test django example explicitly, move into new folder

  • Loading branch information...
1 parent 2141fd3 commit a8f7bf6e45896851b0502085a84b9f5eccc6a347 @dlo dlo committed Apr 15, 2012
File renamed without changes.
No changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,6 +1,6 @@
from django.conf.urls.defaults import patterns, url
-urlpatterns = patterns('example.views',
+urlpatterns = patterns('examples.django_example.views',
url(r'^$', 'home', name=''),
url(r'^oauth/facebook/begin$', 'oauth_facebook_begin', name='oauth-facebook-begin'),
url(r'^oauth/facebook/complete$', 'oauth_facebook_complete', name='oauth-facebook-complete'),
File renamed without changes.
View
@@ -18,16 +18,16 @@
settings.configure(
INSTALLED_APPS=(
- "example",
+ "examples.django_example",
),
- ROOT_URLCONF="example.urls",
+ ROOT_URLCONF="examples.django_example.urls",
FACEBOOK_KEY=options.FACEBOOK_KEY,
FACEBOOK_SECRET=options.FACEBOOK_SECRET,
FACEBOOK_REDIRECT_URL=options.FACEBOOK_REDIRECT_URL,
FACEBOOK_SCOPE=options.FACEBOOK_SCOPE,
FACEBOOK_CSRF_TOKEN_REQUIRED=False,
AUTHENTICATION_BACKENDS=(
- "example.backends.FBAuthBackend",
+ "django_example.backends.FBAuthBackend",
),
DATABASES={
"default": {
@@ -38,5 +38,5 @@
)
from django.core.management import call_command
- call_command("test", "example")
+ call_command("test", "django_example")

0 comments on commit a8f7bf6

Please sign in to comment.