Skip to content

Commit

Permalink
Auto-fix whitespace issues
Browse files Browse the repository at this point in the history
  • Loading branch information
WhyNotHugo committed Nov 15, 2022
1 parent 9040963 commit 5ba60fb
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
1 change: 0 additions & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ current_version = 1.7.1
commit = True
tag = True
tag_name = {new_version}

2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ documentation on `installing GeoIP`_.
Getting help
============

For general questions regarding this package, please hop over to Stack
For general questions regarding this package, please hop over to Stack
Overflow. If you think there is an issue with this package; check if the
issue is already listed (either open or closed), and file an issue if
it's not.
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# serve to show the default.

import os

from pkg_resources import get_distribution

# If extensions (or modules to document with autodoc) are in another directory,
Expand Down
1 change: 0 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ Indices and tables
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

4 changes: 2 additions & 2 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ documentation on `installing GeoIP`_.

IP when behind a proxy
----------------------
If you're running Django behind a proxy like nginx, you will have to set
the `REMOTE_ADDR` META header manually using a middleware, to stop it from
If you're running Django behind a proxy like nginx, you will have to set
the `REMOTE_ADDR` META header manually using a middleware, to stop it from
always returning the ip of the proxy (e.g. 127.0.0.1 in many cases).

An example middleware to fix this issue is `django-xforwardedfor-middleware`_
Expand Down
2 changes: 1 addition & 1 deletion docs/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ Views

Unit tests
----------
.. autoclass:: user_sessions.utils.tests.Client
.. autoclass:: user_sessions.utils.tests.Client
4 changes: 2 additions & 2 deletions docs/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ Unreleased
* Fixed #73 -- Error when deleting individual session from list view.
* Fixed #74 -- user agent not being shown in list view.
* Resolved Django’s deprecation warnings (preliminary Django 2.0 support).
* Make templatetags return None instead of 'unknown', provide your own fallback
* Make templatetags return None instead of 'unknown', provide your own fallback
value with `default_if_none:`.
* Allow translation of fallback values.

1.4.0
-----
* Added Django Channels support.
* Fixed #62 -- Provide request.user in signals.
* Ending current session will logout instead, make sure LOGOUT_REDIRECT_URL is
* Ending current session will logout instead, make sure LOGOUT_REDIRECT_URL is
set.

1.3.1
Expand Down
2 changes: 1 addition & 1 deletion user_sessions/locale/ar/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
#
# Translators:
# Bashar Al-Abdulhadi, 2013-2014
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion user_sessions/locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
#
# Translators:
# Bouke Haarsma <[email protected]>, 2017
# elnappo <[email protected]>, 2014
Expand Down
2 changes: 1 addition & 1 deletion user_sessions/locale/he/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
#
# Translators:
# Kunda, 2014
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion user_sessions/locale/it/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
#
# Translators:
# Daniele Faraglia <[email protected]>, 2014
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion user_sessions/locale/nl/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
#
# Translators:
# Bouke Haarsma <[email protected]>, 2013-2014,2017
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion user_sessions/locale/pl_PL/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
#
# Translators:
msgid ""
msgstr ""
Expand Down
2 changes: 1 addition & 1 deletion user_sessions/locale/zh_CN/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
#
# Translators:
# mozillazg <[email protected]>, 2014
msgid ""
Expand Down
1 change: 1 addition & 0 deletions user_sessions/migrations/0002_auto_20151208_1536.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Generated by Django 1.9 on 2015-12-08 15:36

from django.db import migrations, models

import user_sessions.models


Expand Down

0 comments on commit 5ba60fb

Please sign in to comment.