Skip to content

Use Google Maps API key in requests#6

Open
entvia wants to merge 2 commits intoaerupt:masterfrom
entvia:api_key
Open

Use Google Maps API key in requests#6
entvia wants to merge 2 commits intoaerupt:masterfrom
entvia:api_key

Conversation

@entvia
Copy link
Copy Markdown

@entvia entvia commented May 14, 2018

No description provided.

from urllib.parse import quote_plus
from pytz import timezone
from tzwhere import tzwhere
from django.conf.settings import GOOGLE_MAPS_API_KEY
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tying this to Django isn't a good idea.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah this is supposed to be a simple library which isn't tied to django. Let's make this part of the signature?

from urllib.parse import quote_plus
from pytz import timezone
from tzwhere import tzwhere
from django.conf.settings import GOOGLE_MAPS_API_KEY
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah this is supposed to be a simple library which isn't tied to django. Let's make this part of the signature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants