Permalink
Browse files

change file format win2unix

  • Loading branch information...
vicalloy committed Jan 16, 2013
1 parent 2907167 commit e2a558f37d1720c9ffbc4ca0451cfd416c007e73
View
@@ -1,18 +1,18 @@
-Django>=1.3
-south
-dj-scaffold
-django-devserver
-django-debug-toolbar
-django-taggit
-django-taggit-templatetags
-django-pagination
-django_compressor
-Markdown
-BeautifulSoup
-raven
-git+git://github.com/vicalloy/django-helper.git
-git+git://github.com/bread-and-pepper/django-userena.git
-git+git://github.com/earle/django-bootstrap.git#egg=bootstrap
-git+git://github.com/SmileyChris/easy-thumbnails.git
-git+git://github.com/vicalloy/django-ajax-validation.git
-git+git://github.com/vicalloy/django-lb-attachments.git
+Django>=1.3
+south
+dj-scaffold
+django-devserver
+django-debug-toolbar
+django-taggit
+django-taggit-templatetags
+django-pagination
+django_compressor
+Markdown
+BeautifulSoup
+raven
+git+git://github.com/vicalloy/django-helper.git
+git+git://github.com/bread-and-pepper/django-userena.git
+git+git://github.com/earle/django-bootstrap.git#egg=bootstrap
+git+git://github.com/SmileyChris/easy-thumbnails.git
+git+git://github.com/vicalloy/django-ajax-validation.git
+git+git://github.com/vicalloy/django-lb-attachments.git
View
@@ -1,19 +1,19 @@
-#!/usr/bin/env python
-from django.core.management import execute_manager
-import imp
-import os, sys
-
-HERE = os.path.dirname(os.path.abspath(__file__))
-sys.path.insert(0, os.path.join(HERE, '../requirement'))
-
-try:
- imp.find_module('settings') # Assumed to be in the same directory.
-except ImportError:
- import sys
- sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n" % __file__)
- sys.exit(1)
-
-import settings
-
-if __name__ == "__main__":
- execute_manager(settings)
+#!/usr/bin/env python
+from django.core.management import execute_manager
+import imp
+import os, sys
+
+HERE = os.path.dirname(os.path.abspath(__file__))
+sys.path.insert(0, os.path.join(HERE, '../requirement'))
+
+try:
+ imp.find_module('settings') # Assumed to be in the same directory.
+except ImportError:
+ import sys
+ sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n" % __file__)
+ sys.exit(1)
+
+import settings
+
+if __name__ == "__main__":
+ execute_manager(settings)
View
@@ -1,27 +1,27 @@
-from django.conf.urls.defaults import *
-
-from userena import views as userena_views
-
-from profiles.forms import BsSignupForm
-from profiles.forms import BsAuthenticationForm
-from profiles.forms import BsEditProfileForm
-from profiles.forms import BsPasswordChangeForm
-from profiles.forms import BsChangeEmailForm
-
-urlpatterns = patterns('',
- url(r'^signup/$', userena_views.signup,
- {'signup_form': BsSignupForm}, name='userena_signup'),
- url(r'^signin/$', userena_views.signin,
- {'auth_form': BsAuthenticationForm}, name='userena_signin'),
- url(r'^(?P<username>[\.\w]+)/edit/$',
- userena_views.profile_edit,
- {'edit_profile_form': BsEditProfileForm}, name='userena_profile_edit'),
- # Change password
- url(r'^(?P<username>[\.\w]+)/password/$',
- userena_views.password_change,
- {'pass_form': BsPasswordChangeForm}, name='userena_password_change'),
- url(r'^(?P<username>[\.\w]+)/email/$',
- userena_views.email_change,
- {'email_form': BsChangeEmailForm}, name='userena_email_change'),
- (r'^', include('userena.urls')),
-)
+from django.conf.urls.defaults import *
+
+from userena import views as userena_views
+
+from profiles.forms import BsSignupForm
+from profiles.forms import BsAuthenticationForm
+from profiles.forms import BsEditProfileForm
+from profiles.forms import BsPasswordChangeForm
+from profiles.forms import BsChangeEmailForm
+
+urlpatterns = patterns('',
+ url(r'^signup/$', userena_views.signup,
+ {'signup_form': BsSignupForm}, name='userena_signup'),
+ url(r'^signin/$', userena_views.signin,
+ {'auth_form': BsAuthenticationForm}, name='userena_signin'),
+ url(r'^(?P<username>[\.\w]+)/edit/$',
+ userena_views.profile_edit,
+ {'edit_profile_form': BsEditProfileForm}, name='userena_profile_edit'),
+ # Change password
+ url(r'^(?P<username>[\.\w]+)/password/$',
+ userena_views.password_change,
+ {'pass_form': BsPasswordChangeForm}, name='userena_password_change'),
+ url(r'^(?P<username>[\.\w]+)/email/$',
+ userena_views.email_change,
+ {'email_form': BsChangeEmailForm}, name='userena_email_change'),
+ (r'^', include('userena.urls')),
+)
View
@@ -1,11 +1,11 @@
-SETTINGS = 'dev'
-try:
- from pre import SETTINGS
-except:
- pass
-exec 'from %s import *' % SETTINGS
-
-try:
- from local import *
-except:
- pass
+SETTINGS = 'dev'
+try:
+ from pre import SETTINGS
+except:
+ pass
+exec 'from %s import *' % SETTINGS
+
+try:
+ from local import *
+except:
+ pass
Oops, something went wrong.

0 comments on commit e2a558f

Please sign in to comment.