mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 07:11:52 +00:00
Import Image from PIL to support newer python
import the Django registration module rather than the troggle one
This commit is contained in:
parent
0c2a6b49ba
commit
0ef4f7832c
@ -17,7 +17,8 @@ import re, urlparse
|
||||
from django.shortcuts import get_object_or_404
|
||||
import settings
|
||||
|
||||
import Image, ImageDraw, ImageFont, string, os, sys
|
||||
from PIL import Image, ImageDraw, ImageFont
|
||||
import string, os, sys
|
||||
|
||||
def getCave(cave_id):
|
||||
"""Returns a cave object when given a cave name or number. It is used by views including cavehref, ent, and qm."""
|
||||
|
@ -93,7 +93,7 @@ INSTALLED_APPS = (
|
||||
#'troggle.photologue',
|
||||
#'troggle.reversion',
|
||||
#'django_evolution',
|
||||
'troggle.registration',
|
||||
'registration',
|
||||
'troggle.profiles',
|
||||
'troggle.core',
|
||||
'troggle.flatpages',
|
||||
|
Loading…
Reference in New Issue
Block a user