Skip to content

Commit

Permalink
fix: Typo with dependency to translation files in application/decorat…
Browse files Browse the repository at this point in the history
…or (#976)

* Typo with dependency to translation files in application/decorator

* ci: auto fixes from pre-commit hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Mark Walker <theshow@gmail.com>
  • Loading branch information
3 people authored Apr 22, 2024
1 parent 8f392c1 commit f06144d
Show file tree
Hide file tree
Showing 11 changed files with 35,290 additions and 5,956 deletions.
3 changes: 1 addition & 2 deletions core/flickr_api_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ def get_photo_files(photo_list):
try:
for photo in photo_list:
request = requests.get(
f'https://live.staticflickr.com/{photo["server"]}/'
f'{photo["id"]}_{photo["secret"]}_b.jpg'
f'https://live.staticflickr.com/{photo["server"]}/{photo["id"]}_{photo["secret"]}_b.jpg'
)
photo_file = ImageFile(io.BytesIO(request.content), name=f'{photo["id"]}.jpg')
photo_files_list.append(photo_file)
Expand Down
4 changes: 1 addition & 3 deletions core/management/commands/copy_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ def command():
brag_on_slack_bang(new_event.city, new_event.country, new_event.team.all())

click.echo(
click.style(
f"Website is ready here: https://djangogirls.org/{new_event.page_url}", bold=True, fg="green"
)
click.style(f"Website is ready here: https://djangogirls.org/{new_event.page_url}", bold=True, fg="green")
)
click.echo("Congrats on yet another event!")
3 changes: 1 addition & 2 deletions djangogirls/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ def gettext(s):

DATABASES = {}
DATABASES["default"] = dj_database_url.config(
default=f"postgres://{POSTGRES_USER}:{POSTGRES_PASSWORD}@{POSTGRES_HOST}:{POSTGRES_PORT}"
f"/{POSTGRES_DB}"
default=f"postgres://{POSTGRES_USER}:{POSTGRES_PASSWORD}@{POSTGRES_HOST}:{POSTGRES_PORT}" f"/{POSTGRES_DB}"
)

DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
Expand Down
8,123 changes: 6,743 additions & 1,380 deletions locale/de/LC_MESSAGES/django.po

Large diffs are not rendered by default.

7,342 changes: 6,954 additions & 388 deletions locale/es/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Loading

0 comments on commit f06144d

Please sign in to comment.