Skip to content

Commit

Permalink
Add configuration related django-allauth
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeezley committed Oct 7, 2020
1 parent 12d701a commit fc483fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions {{ cookiecutter.project_slug }}/README.md
Expand Up @@ -7,6 +7,7 @@ This is the simplest configuration for developers to start with.
1. Run `docker-compose run --rm django ./manage.py migrate`
2. Run `docker-compose run --rm django ./manage.py createsuperuser`
and follow the prompts to create your own user
3. Run `docker-compose run --rm django ./manage.py collectstatic`

### Run Application
1. Run `docker-compose up`
Expand Down
Expand Up @@ -18,6 +18,8 @@ class {{ cookiecutter.pkg_name.split('_')|map('capitalize')|join('') }}Config(Co

BASE_DIR = Path(__file__).resolve(strict=True).parent.parent

SITE_ID = 1

@staticmethod
def before_binding(configuration: ComposedConfiguration) -> None:
configuration.INSTALLED_APPS += [
Expand Down
Expand Up @@ -26,6 +26,7 @@
path('api/s3-upload/', include('s3_file_field.urls')),
path('summary/', image_summary, name='image-summary'),
path('gallery/', GalleryView.as_view(), name='gallery'),
path('accounts/', include('allauth.urls')),
]

if settings.DEBUG:
Expand Down

0 comments on commit fc483fa

Please sign in to comment.