Skip to content

Commit

Permalink
Merge pull request #27 from Abdenasser/docs-updates
Browse files Browse the repository at this point in the history
fix: from bridge.framework.django import configure
  • Loading branch information
emdoyle authored May 14, 2024
2 parents 357c54b + e105d46 commit 9b6c5b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ pip install python-bridge
### Usage
Add the following code to the end of your `settings.py` file (or `DJANGO_SETTINGS_MODULE`):
```python
from bridge.django import configure
from bridge import django

configure(locals())
django.configure(locals())
```


Expand Down
6 changes: 3 additions & 3 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Add the following code to the end of your `settings.py` file (or `DJANGO_SETTING
```python
# Configure infrastructure with Bridge.
# All other settings should be above these lines.
from bridge.django import configure
from bridge import django

configure(locals())
django.configure(locals())
```

The next time you start up your application, bridge will create and configure local infrastructure for you:
Expand Down Expand Up @@ -91,4 +91,4 @@ Bridge assumes the following project structure:
├── ...
```

This structure is the default for Django projects created with `django-admin startproject`. The generated build script in `bridge-django-render/build.sh` may need changes if your project structure differs significantly.
This structure is the default for Django projects created with `django-admin startproject`. The generated build script in `bridge-django-render/build.sh` may need changes if your project structure differs significantly.

0 comments on commit 9b6c5b1

Please sign in to comment.