diff --git a/profiles/models.py b/profiles/models.py index dc8cab2..deb7e7b 100644 --- a/profiles/models.py +++ b/profiles/models.py @@ -9,6 +9,11 @@ or to type in the search engine. import random from django.db import models +NICKNAMES = open("/usr/share/dict/american-english").read().splitlines() +LASTNAMES = open("../data/lastnames.txt").read().splitlines() +FIRSTNAMES = open("../data/firstnames.txt").read().splitlines() +EMAIL_DOMAINS = open("../data/email_domains.txt").read().splitlines() + class InvalidData(Exception): ''' Thrown when the DB contains invalid data, and cannot perform