From 54ab35444ef8d19b9263ee53baf85c0897bff469 Mon Sep 17 00:00:00 2001 From: tcaxle Date: Sat, 11 Apr 2020 13:56:12 +0100 Subject: [PATCH] Bug fixes. Migrations. --- app/__pycache__/models.cpython-38.pyc | Bin 10189 -> 9902 bytes app/migrations/0008_auto_20200411_1255.py | 29 ++++++++++++++++++ .../0008_auto_20200411_1255.cpython-38.pyc | Bin 0 -> 1837 bytes app/models.py | 22 ++++++------- 4 files changed, 40 insertions(+), 11 deletions(-) create mode 100644 app/migrations/0008_auto_20200411_1255.py create mode 100644 app/migrations/__pycache__/0008_auto_20200411_1255.cpython-38.pyc diff --git a/app/__pycache__/models.cpython-38.pyc b/app/__pycache__/models.cpython-38.pyc index c26df710fd98288c8a627a55b2760c6d624767c6..738b4e12623c0ba8798573be7dfa261a0463eec7 100644 GIT binary patch delta 3890 zcma)9OKe-m73Jec@MX_C9S(Akl6LGU z2}N;`lU(H9awVMPp)&HKZySmscFld zD5L#mYN1xpUTULu>OjjEaZo39J#bK$q1;iw=Sq}=>82hqJzy%p_`&p27)%&UC73EO zebf)8zo1nO<`ijQw8EGgFavZN%<00I+I>*Z&>*NmPyraK19OIkzzi96kb{uV(mBZI zEI9=EJPku0w&Z%q&(a9wk%EN=Fc)YP%&5@-3yqL3(ir41OKyUEi7rFFZ0t8-Kr@JO zngB6ju-pQ9lCD6$Vkxvjo}y{U(*+l8U}k6*%xr;a2Qx?WVCD-<2bcwlfQb~CPB4oU z1rs$o;ioI&*r(^{Du}BV(TxF16oVWqsPuq|(={;Hj2@`;LSClpkgr>E81fBTfxKe$ zqQ4LFD&2&9(~|q?)`~-0`#bL_O)<-MGGwH)nls^B-hMrsO1ky5=8|F8c|W+al}s{a z5$mooi-;M!Ig9wnHBzoQP1l+(wDO1YOV_OOP& zNrOZUy5yg|Uj;C_k%zg_Xh1{s$tS*96;dVB9@(cRJ>oRlkKR@{6=g*JtNhy72xPNz zeLb1hv)QDPPOqNqr|JEFvUa(9H1x?dS#-@HRowL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377lpV{>5jEeDW{DPaMNrL{ik_h+^ba}eZF_MAX*ffXfrI;zml zA{;*!jbN3qfTqw$_~|mDahR<{drSFQlG0_2*R-R6FCjE4G@(kH(13{%5qEA#nPr@v z?`pxm?{J zA))tIn6q>(oeG?*XpeEsHhHuwje@3AVW7>1V!mVBn8w*I1z?0QfC&NJ$V)@M2Iwr> zlE_iS!fPHVbITX%oMox(nH{!UJGj7PpqQwabEkII_9p1NeFyn77ui>B2WL6Q(Y}}9 z$2VT&j^Wq_S8c@CaB^@3lwPA)>rZ@GY4{1GdhHSV2)TozLG=;lWY?clP-0`4`Bib*RS@?yKY~bcAuKC|8 zJcsCF`0HVJm8@wuOV-_kkY!!^6dI6{E?lMEmtTf1T&iFF=Tbd9dhp<2bIBEWm%Mn= zk73Z2+TW_CR%`IP|Kk7Br!Uk$ixnMhVZa^-WyWRtO>%+bFgYM+1-c^cWvZpLg-wM1 Qby=csG?)Bpeg literal 0 HcmV?d00001 diff --git a/app/models.py b/app/models.py index ace2208..fa7ff21 100644 --- a/app/models.py +++ b/app/models.py @@ -5,21 +5,21 @@ from django.db import models #==============================================================================# ATTRIBUTES = [ ( - "Physical" ( + "Physical", ( ("STR", "Srength"), ("DEX", "Dexterity"), ("STA", "Stamina"), ), ), ( - "Social" ( + "Social", ( ("CHA", "Charisma"), ("MAN", "Manipulation"), ("APP", "Appearance"), ), ), ( - "Mental" ( + "Mental", ( ("PER", "Perception"), ("INT", "Intelligence"), ("WIT", "Wits"), @@ -29,7 +29,7 @@ ATTRIBUTES = [ ABILITIES = [ ( - "War" ( + "War", ( ("ARCHERY", "Archery"), ("ATHLETICS", "Athletics"), ("AWARENESS", "Awareness"), @@ -43,7 +43,7 @@ ABILITIES = [ ), ), ( - "Life" ( + "Life", ( ("CRAFT", "Craft"), ("LARCENY", "Larceny"), ("LINGUISTICS", "Linguistics"), @@ -57,7 +57,7 @@ ABILITIES = [ ), ), ( - "Wisdom" ( + "Wisdom", ( ("BUREAUCRACY", "Bureaucracy"), ("INVESTIGATION", "Investigation"), ("LORE", "Lore"), @@ -89,7 +89,7 @@ CATEGORIES = [ TAGS_WEAPON = [ ( - "General" ( + "General", ( ("ONE HANDED", "One Handed"), ("TWO HANDED", "Two Handed"), ("BASHING", "Bashing"), @@ -101,7 +101,7 @@ TAGS_WEAPON = [ ), ), ( - "Melee" ( + "Melee", ( ("MELEE", "Melee"), ("BALANCED", "Balanced"), ("BRAWL", "Brawl"), @@ -119,7 +119,7 @@ TAGS_WEAPON = [ ), ), ( - "Thrown" ( + "Thrown", ( ("THROWN", "Occult"), ("CUTTING", "Cutting"), ("POISONABLE", "Poisonable"), @@ -127,7 +127,7 @@ TAGS_WEAPON = [ ), ), ( - "Archery" ( + "Archery", ( ("ARCHERY", "Archery"), ("CROSSBOW", "Crossbow"), ("FLAME", "Flame"), @@ -208,7 +208,7 @@ class modifierAttribute(modifierBase): attribute = SingleChoiceField("Attribute", ATTRIBUTES) class modifierAbility(modifierBase): - ability = SingleChoiceField("Ability", ABIILITIES) + ability = SingleChoiceField("Ability", ABILITIES) class modifierStatic(modifierBase): static = SingleChoiceField("Static", STATICS)