Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi! We cleaned up your code for you! #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.pyc

# Logs and databases #
######################
*.log

# OS generated files #
######################
.DS_Store*
ehthumbs.db
Icon?
Thumbs.db
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Community

Useful shortcuts
----------------
1. [render][render], since Django 1.3.
1. [render][render], since Django 1.3.
- render() is the same as a call to render_to_response() with a context_instance argument that forces the use of a RequestContext.
2. [redirect][redirect], since Django 1.1, usage:
2. [redirect][redirect], since Django 1.1, usage:
- redirects to:
- 1. an object, with defined get_absolute_url
- 2. a named url
Expand Down Expand Up @@ -94,7 +94,7 @@ Git and github
### Set up git
git config --global user.name "Wim Feijen"
git config --global user.email [email protected]

### Next steps:
mkdir Django-Trainingen
cd Django-Trainingen
Expand All @@ -107,7 +107,7 @@ Git and github

### Upload ssh key?
https://github.com/account/ssh

### Existing Git Repo?
cd existing_git_repo
git remote add origin [email protected]:wimfeijen/Django-Trainingen.git
Expand Down Expand Up @@ -150,7 +150,7 @@ What’s new in Django 1.2

Ad 6. in settings.py:

USE_I10N = True
USE_I10N = True

[csrf]:https://docs.djangoproject.com/en/1.3/ref/contrib/csrf/
[messages]:https://docs.djangoproject.com/en/1.3/ref/contrib/messages/
Expand Down Expand Up @@ -195,7 +195,7 @@ Likes
- Webservices ([django-tastypie][tastypie])
- Facebook / social integration ([django-socialregistration][social])
- Pagination ([endless-pagination][pagination])
- IDEAL payments ([django-mollie][mollie])
- IDEAL payments ([django-mollie][mollie])
- Blog ([zinnia][zinnia])
- Compress static files ([django-compressor][compressor])

Expand Down