From 940cb1e4138b38df816e1d7aaf244c59e7287b70 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 2 Mar 2019 12:47:44 +0100 Subject: [PATCH] Display friends on map --- .idea/friends_map.iml | 1 + friends_map/urls.py | 3 +- map/admin.py | 12 ++- map/fields.py | 11 +++ map/migrations/0002_friendlocation.py | 29 +++++++ map/migrations/0003_friendlocation_friend.py | 21 +++++ map/models.py | 30 ++++++- map/static/map/style.css | 4 + map/templates/map/base.html | 82 ++++++++++++++++++++ map/templates/map/map.html | 32 ++++++++ map/urls.py | 6 ++ map/views.py | 8 +- 12 files changed, 234 insertions(+), 5 deletions(-) create mode 100644 map/fields.py create mode 100644 map/migrations/0002_friendlocation.py create mode 100644 map/migrations/0003_friendlocation_friend.py create mode 100644 map/static/map/style.css create mode 100644 map/templates/map/base.html create mode 100644 map/templates/map/map.html create mode 100644 map/urls.py diff --git a/.idea/friends_map.iml b/.idea/friends_map.iml index 212f356..f0ba94c 100644 --- a/.idea/friends_map.iml +++ b/.idea/friends_map.iml @@ -16,6 +16,7 @@ +