# Path: payway/accounts/models.py
# CURRENCY_CHOICES = (
#     (CURRENCIES['RUB'].code, CURRENCIES['RUB'].name),
#     (CURRENCIES['USD'].code, CURRENCIES['USD'].name)
# )


from django.shortcuts import redirect
from django.views.generic.base import TemplateView
from django.utils.translation import ugettext_lazy as _
from django.contrib import messages
from payway.accounts.models import CURRENCY_CHOICES
# -*- coding: UTF-8 -*-

__author__ = 'Razzhivin Alexander'
__email__ = 'admin@httpbots.com'


class AddAccountView(TemplateView):
    template_name = 'accounts/list.html'

    MESSAGES =  {
        'WRONG_CURRENCY':  _('Currency not allowed!'),
    }


# Path: payway/accounts/models.py
# CURRENCY_CHOICES = (
#     (CURRENCIES['RUB'].code, CURRENCIES['RUB'].name),
#     (CURRENCIES['USD'].code, CURRENCIES['USD'].name)
# )


# Path: payway/accounts/views/add_account.py
from django.shortcuts import redirect
from django.views.generic.base import TemplateView
from django.utils.translation import ugettext_lazy as _
from django.contrib import messages
from payway.accounts.models import CURRENCY_CHOICES

# -*- coding: UTF-8 -*-

__author__ = 'Razzhivin Alexander'
__email__ = 'admin@httpbots.com'


class AddAccountView(TemplateView):
    template_name = 'accounts/list.html'

    MESSAGES =  {
        'WRONG_CURRENCY':  _('Currency not allowed!'),
    }


    def get(self, request, *args, **kwargs):