Andy Thomason is a Senior Programmer at Genomics PLC. He has been witing graphics systems, games and compilers since the '70s and specialises in code performance.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% extends "base.html" %} | |
| {% block content %} | |
| <form method="post">{% csrf_token %} | |
| {{ forms.subscription }} | |
| <input type="submit" value="Subscribe"> | |
| </form> | |
| <form method="post">{% csrf_token %} | |
| {{ forms.contact }} | |
| <input type="submit" value="Send"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django.contrib import admin | |
| from django.contrib.auth import admin as auth_admin | |
| from .models import * | |
| from forms import UserChangeForm, UserCreationForm | |
| class UserAdmin(auth_admin.UserAdmin): | |
| fieldsets = ( | |
| (None, {'fields': ('email', 'password')}), | |
| ('Personal info', {'fields': ('first_name', 'last_name', 'twitter', 'photo', 'event')}), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Simplified Django deploy using Apache HTTP Server. |
Visit my blog or connect with me on Twitter
git init
or
