Simón Oroño
d99a8bb87e
Make linter happy
2021-01-26 19:44:54 -04:00
Simón Oroño
87a2590543
Rename field in move endpoint
...
Field "pokemon" was renamed "learned_by_pokemon" to better express intent.
2021-01-26 19:42:28 -04:00
Simón Oroño
7c7beb4592
Add a "pokemon" field for the move endpoint
...
This field will contain a simple list of pokemon summaries. Each
element on the list represents a pokemon that can learn that move.
2021-01-23 13:22:37 -04:00
Tim Gates
5e2aeab47b
docs: fix simple typo, rsult -> result
...
There is a small typo in pokemon_v2/README.md.
Should read `result` rather than `rsult`.
2020-12-28 12:36:09 +11:00
Alessandro Pezzè
464aeea4af
fix: run black
2020-11-23 22:05:49 +01:00
Alessandro Pezzè
71d75c3540
feat: extend pokemon_name to 60 char
2020-11-23 21:57:30 +01:00
Alessandro Pezzè
a131421889
Update and rename 0006_auto_20200815_0610.py to 0007_auto_20200815_0610.py
2020-08-15 21:43:23 +02:00
Alessandro Pezzè
7dcc930d79
fix(lint): remove spaces
2020-08-15 21:39:11 +02:00
Alessandro Pezzè
b2c381a89e
Merge branch 'master' into master
2020-08-15 21:32:56 +02:00
Raghav Nair
25e026cc6a
Removing ultrabeast column and only updating is_legendary and is_mythical
2020-08-14 22:14:09 -07:00
Alessandro Pezzè
8c10abd909
refactor: merge migrations
...
:
2020-08-11 19:33:12 +02:00
Raghav Nair
d13b2f3b7d
Formatting
2020-08-09 16:15:21 -07:00
Raghav Nair
60b3e6aa4d
Adding migrations
2020-08-09 12:43:06 -07:00
Raghav Nair
8c82794a04
Using black to format tests file
2020-08-09 12:41:24 -07:00
Raghav Nair
99dabe387c
Updating PokemonSpecies serializer, fields, tests
2020-08-09 12:35:45 -07:00
Alessandro Pezzè
7ceba2f1b1
refactor: apply black
2020-08-01 12:24:38 +02:00
Alessandro Pezzè
047575ff41
play: add some pokemon
2020-08-01 12:00:09 +02:00
Alessandro Pezzè
47044317e4
add migration
2020-07-25 22:14:00 +02:00
Alessandro Pezzè
bf02891d1e
Update models.py
2020-07-25 21:52:01 +02:00
Christian Garza
f44da153fb
Fix linting errors
2020-07-10 02:59:05 -07:00
Christian Garza
a14271a67a
Extend pokemon sprites to include dream-world images from submodule
2020-07-09 23:58:11 -07:00
Christian Garza
20c5d31be4
Increase max length for PokemonSprites
2020-07-09 23:25:48 -07:00
Andrés Ignacio Torres
6f1479d21c
prevent server error on invalid numeric id lookup
2020-05-03 09:02:07 -04:00
Julian Lawrance
fee75ea61d
Address PR comments
2020-04-21 23:30:23 +01:00
Julian Lawrance
4f8a9258f9
Add test for Wurmple evolution chain fix
2020-04-13 20:07:43 +01:00
Julian Lawrance
a3ed4f035c
Serialize evolution chains recursively to fix Wurmple evolution
2020-04-13 14:14:48 +01:00
Paul Hallett
867fd9c23a
blacked
2020-02-24 13:18:14 +13:00
Paul Hallett
d5d55dad7f
Autoformat entire project, tidy up makefile
2020-02-24 13:18:14 +13:00
Alessandro Pezzè
c7e10bd044
feat: address new max length for iso639
2020-02-23 23:58:13 +01:00
Kronopt
a5205b5126
fix #423
2019-05-11 20:50:13 -04:00
Charles Marttinen
63b4f9040b
chore: Configure PyLint and correct code formatting
2018-10-20 11:35:11 -04:00
Charles Marttinen
4df9920596
chore: Correct code formatting to appease linter
2018-10-20 11:35:11 -04:00
Charles Marttinen
7714b745a3
fix: Update flake8 and pyflake
2018-10-20 11:35:11 -04:00
Charles Marttinen
8832c819e3
chore: Remove python2 compatibility code
2018-10-20 11:35:11 -04:00
Charles Marttinen
3d64938a3f
chore: Upgrade to Python 3 and update Django to 2.0
2018-10-20 11:35:11 -04:00
Charles Marttinen
23ba8056ef
chore: Update Django to 1.10
2018-10-20 11:35:11 -04:00
Charles Marttinen
ee96433e6d
chore: Update Django to 1.9
2018-10-20 11:35:11 -04:00
Charles Marttinen
6663813dc2
fix: Add LocationArea back to REST API
...
LocationArea is a special case that was missed when getting rid of the
hit counter.
2018-10-18 23:18:36 -04:00
Charles Marttinen
76c2b58e4e
fix: Remove old website and associated code
...
The pokeapi.co website has been rebuilt and moved to a separate
project, so the website in this project is obsolete.
This removes all files and code related to the website, including the
'alerts' and 'hits' apps (which managed website alerts and the hit
counter) and unused site assets (CSS, JS, images).
2018-10-18 23:18:36 -04:00
Alessandro Pezzè
9203a0d286
Sun and moon data ( #305 )
...
* badges
* Added CSV from Veekun
* added sprites from Veekun website
* quick fixes for an Exception
* bumped dependencies version
* add comment on how to upgrade to Django 1.11
* added some reminds to caching, our official wrappers and the true cost of the server
* remove index.html from sprites
* update to conform django-rest-framework 3.3.0 guidelines
* lint
2017-10-21 13:21:23 +00:00
Paul Hallett
404f23abd1
Change URL from PokéAPI to gh for sprites ( #257 )
2016-08-13 18:35:42 +01:00
sentwistler
28bd7ccd67
move flavor texts now available ( #220 )
...
* move flavor texts now available
* fix failed lints
* add documentation for move flavor text field
2016-07-05 09:42:03 +01:00
Sargun Vohra
d6ae95c617
Redo PokemonEncounterView ( #212 )
...
* redo PokemonEncounterView (fix #210 )
2016-06-25 13:33:52 -04:00
Sargun Vohra
cf19dcca29
Pokemon form names ( #213 )
...
* added names and form names to the pokemon-form resource
* document pokemon form names
* close #185
2016-06-25 12:56:24 -04:00
Sargun Vohra
f8c641716e
Link moves to machines ( #211 )
...
* add Machines resource to link TM/HM items to moves
* document new Machines resource
* fix #198
2016-06-25 12:45:20 -04:00
Sargun Vohra
fce9410c50
Fix for dealing with name format ( #207 )
...
* Allow plus in names (fix #146 )
* Handle id/name that does not match the format instead of throwing an error
2016-06-04 12:27:36 -04:00
Sargun Vohra
1890ad9512
Allow negative IDs ( fix #145 ) ( #206 )
2016-06-04 11:18:45 +01:00
Paul Hallett
4919c0674d
DB index, improve Pokemon performance ( #194 )
...
* DB index, improve Pokemon performance
* fix test
* blep
2016-05-30 14:58:03 +01:00
Sargun Vohra
ba7cfafbc4
use empty list instead of null for evolution details ( #191 )
2016-05-25 09:01:23 +01:00
Sargun Vohra
254937c673
Always wrap evolution details in a list ( #190 )
...
* fix #188 , always wrap evolution details in a list
* update evolution details test to accomodate fix
2016-05-24 14:56:15 +01:00