Skip to content

Commit

Permalink
No need to place this app in INSTALLED_APPS
Browse files Browse the repository at this point in the history
Closes #77
  • Loading branch information
mfogel committed Jan 9, 2022
1 parent 53fb36c commit 93f3b42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
14 changes: 4 additions & 10 deletions README.md
Expand Up @@ -69,17 +69,11 @@ my_serializer.validated_data['tz2'] # <DstTzInfo 'America/Argentina/Buenos_Aires

## Installation

1. Install from [`pypi`](https://pypi.org/project/django-timezone-field/)
Install from [`pypi`](https://pypi.org/project/django-timezone-field/)

```sh
pip install django-timezone-field
```

1. Add `timezone_field` to your django project's [`settings.INSTALLED_APPS`](https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps)

```py
INSTALLED_APPS = [..., 'timezone_field', ...]
```
```sh
pip install django-timezone-field
```

## Running the tests

Expand Down
1 change: 0 additions & 1 deletion tests/settings.py
Expand Up @@ -35,7 +35,6 @@
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'timezone_field',
'tests',
'rest_framework'
)
Expand Down

0 comments on commit 93f3b42

Please sign in to comment.