# Path: geography/models.py
# def migrate_google_user(email):


from django.db import models
from geography.models import Place
import settings
# -*- coding: utf-8 -*-


class Mnemonic(models.Model):
    LANGUAGES = [(i, code) for i, (code, name) in enumerate(settings.LANGUAGES)]
    LANGUAGES_REVERSE = dict((t[1], t[0]) for t in LANGUAGES)


# Path: geography/models.py
# def migrate_google_user(email):


# Path: proso_mnemonics/models.py
from django.db import models
from geography.models import Place
import settings

# -*- coding: utf-8 -*-


class Mnemonic(models.Model):
    LANGUAGES = [(i, code) for i, (code, name) in enumerate(settings.LANGUAGES)]
    LANGUAGES_REVERSE = dict((t[1], t[0]) for t in LANGUAGES)


    place = models.ForeignKey(Place)