예제 #1
0
 class CategoryChoices(Choices):
     dinner = Choice(1, 'Obiady')
     breakfast = Choice(2, 'Śniadania')
     supper = Choice(3, 'Kolacje')
     snack = Choice(4, 'Przekąski')
     dessert = Choice(5, 'Desery')
     other = Choice(6, 'Inne')
예제 #2
0
파일: models.py 프로젝트: ClusterBit/cvblog
class CATEGORIES(Choices):
    service = Choice(1, _('Послуги'))
    equipment = Choice(2, _('Дозвілля'))
    clothes = Choice(3, _('Одяг'))
    products = Choice(4, _('Продукти'))
    manufacture = Choice(5, _('Виробництво'))
    health = Choice(6, _("Здоров'я"))
예제 #3
0
 class TYPE(Choices):
     individual = Choice('individual', _("Individual"))
     company = Choice('company', _("Company"))
예제 #4
0
 class STATUS(Choices):
     booked = Choice('booked', _('Booked'))
     confirmed = Choice('confirmed', _('Confirmed'))
     cancelled = Choice('cancelled', _('Cancelled'))
예제 #5
0
 class DietChoices(Choices):
     vegan = Choice(1, 'Wegańska')
     vegetarian = Choice(2, 'Wegetariańska')
     meat = Choice(3, 'Bez ograniczeń')
예제 #6
0
 class DifficultyChoices(Choices):
     easy = Choice(1, 'Łatwe')
     medium = Choice(2, 'Średnie')
     hard = Choice(3, 'Trudne')
예제 #7
0
 class PROVINCES(Choices):
     Alava = Choice('Alava', ('Álava'))
     Albacete = Choice('Albacete', ('Albacete'))
     Alicante = Choice('Alicante', ('Alicante'))
     Almeria = Choice('Almeria', ('Almería'))
     Asturias = Choice('Asturias', ('Asturias'))
     Avila = Choice('Avila', ('Ávila'))
     Badajoz = Choice('Badajoz', ('Badajoz'))
     BalearsIlles = Choice('Baleares', ('Baleares'))
     Barcelona = Choice('Barcelona', ('Barcelona'))
     Burgos = Choice('Burgos', ('Burgos'))
     Caceres = Choice('Caceres', ('Cáceres'))
     Cadiz = Choice('Cadiz', ('Cádiz'))
     Cantabria = Choice('Cantabria', ('Cantabria'))
     Castellon = Choice('Castellon', ('Castellón'))
     Ceuta = Choice('Ceuta', ('Ceuta'))
     CiudadReal = Choice('Ciudad Real', ('Ciudad Real'))
     Cordoba = Choice('Cordoba', ('Córdoba'))
     Coruna = Choice('Coruña', ('Coruña, A'))
     Cuenca = Choice('Cuenca', ('Cuenca'))
     Gipuzcoa = Choice('Gipuzcoa', ('Guipúzcoa'))
     Gerona = Choice('Gerona', ('Gerona'))
     Granada = Choice('Granada', ('Granada'))
     Guadalajara = Choice('Guadalajara', ('Guadalajara'))
     Huelva = Choice('Huelva', ('Huelva'))
     Huesca = Choice('Huesca', ('Huesca'))
     Jaen = Choice('Jaen', ('Jaén'))
     Leon = Choice('Leon', ('León'))
     Lerida = Choice('Lerida', ('Lérida'))
     Lugo = Choice('Lugo', ('Lugo'))
     Madrid = Choice('Madrid', ('Madrid'))
     Malaga = Choice('Malaga', ('Málaga'))
     Melilla = Choice('Melilla', ('Melilla'))
     Murcia = Choice('Murcia', ('Murcia'))
     Navarra = Choice('Navarra', ('Navarra'))
     Orense = Choice('Orense', ('Orense'))
     Palencia = Choice('Palencia', ('Palencia'))
     Palmas = Choice('Palmas', ('Palmas, Las'))
     Pontevedra = Choice('Pontevedra', ('Pontevedra'))
     Rioja = Choice('Rioja', ('Rioja, La'))
     Salamanca = Choice('Salamanca', ('Salamanca'))
     Segovia = Choice('Segovia', ('Segovia'))
     Sevilla = Choice('Sevilla', ('Sevilla'))
     Soria = Choice('Soria', ('Soria'))
     Tarragona = Choice('Tarragona', ('Tarragona'))
     Tenerife = Choice('Tenerife', ('Santa Cruz de Tenerife'))
     Teruel = Choice('Teruel', ('Teruel'))
     Toledo = Choice('Toledo', ('Toledo'))
     Valencia = Choice('Valencia', ('Valencia'))
     Valladolid = Choice('Valladolid', ('Valladolid'))
     Vizcaya = Choice('Vizcaya', ('Vizcaya'))
     Zamora = Choice('Zamora', ('Zamora'))
     Zaragoza = Choice('Zaragoza', ('Zaragoza'))
예제 #8
0
 class TYPE(Choices):
     cash = Choice('cash', _("Cash"))
     credit = Choice('credit', _("Credit"))