Skip to content

Commit

Permalink
Merge pull request #1 from rosskarchner/cleanup
Browse files Browse the repository at this point in the history
Cleanup
  • Loading branch information
Ross M Karchner committed Jan 9, 2013
2 parents 1f3c025 + 711a089 commit 78e7887
Show file tree
Hide file tree
Showing 146 changed files with 488 additions and 10,999 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ var/
.DS_Store?
ehthumbs.db
Icon?
Thumbs.db
Thumbs.db
app.yaml
Empty file removed README
Empty file.
1 change: 0 additions & 1 deletion account/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
class ProfileForm(forms.Form):
nickname = forms.CharField(max_length=255, help_text="What you want to be known as on the site")
email=forms.EmailField(required=True, help_text="Where should we send email?", widget=EmailInput)
subscribe = forms.BooleanField(required=False, help_text="Do you want to get the weekly events email?")
link=forms.URLField(required=False, help_text="This can be the URL of your blog, twitter page, LinkedIn profile, homepage, or anything else.",
widget=TextInput(attrs={'placeholder':'http://whatever'}))

Expand Down
1 change: 0 additions & 1 deletion account/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def save_profile(profile, form):
profile.slug=unicode(slugify(nickname))
profile.confirmed_at=datetime.now()
profile.link=form.cleaned_data['link'] or None
profile.subscribes=form.cleaned_data['subscribe']
profile.put()
if profile.subscribes:
site=get_site()
Expand Down
36 changes: 0 additions & 36 deletions app.yaml

This file was deleted.

30 changes: 30 additions & 0 deletions app.yaml-dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
application: eventgrinder2
version: cleanup2
runtime: python27
api_version: 1
threadsafe: true

libraries:
- name: PIL
version: "1.1.7"
- name: django
version: "1.2"



handlers:
- url: /static/([^/]*)/(.*)
static_files: static/\2
upload: static/(.*)
expiration: "24d"

- url: /tasks.*
script: main.application
login: admin

- url: .*
script: main.application

builtins:
- datastore_admin: on
- remote_api: on
16 changes: 8 additions & 8 deletions appengine_config.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
import sys
import os
import os, os.path
from logging import error


os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
from google.appengine.dist import use_library
use_library('django', '1.2')
sys.path= [os.path.join(os.path.dirname(__file__), 'shared'), os.path.join(os.path.dirname(__file__), '.')]+sys.path


from django.conf import settings
settings.ROOT_URLCONF="django_urls"





def namespace_manager_default_namespace_for_request():
import os
if os.environ.get('PATH_INFO', '').startswith('/_ah') and not os.environ.get('PATH_INFO', '').startswith('/_ah/login_required') or os.environ.get('PATH_INFO', '').startswith('/_ah/upload'): return ''
if os.environ.get('HTTP_HOST'):
return os.environ.get('HTTP_HOST').split(':')[0]
else:
return ''
return ''

remoteapi_CUSTOM_ENVIRONMENT_AUTHENTICATION = (
'HTTP_X_APPENGINE_INBOUND_APPID', ['techevents'])
25 changes: 0 additions & 25 deletions appengine_console.py

This file was deleted.

Empty file removed apps/links/__init__.py
Empty file.
45 changes: 0 additions & 45 deletions apps/links/forms.py

This file was deleted.

11 changes: 0 additions & 11 deletions apps/links/urls.py

This file was deleted.

34 changes: 0 additions & 34 deletions config.py

This file was deleted.

3 changes: 0 additions & 3 deletions cron.disables

This file was deleted.

47 changes: 0 additions & 47 deletions django_app.py

This file was deleted.

Loading

0 comments on commit 78e7887

Please sign in to comment.