Skip to content

Commit

Permalink
Merge pull request #79 from amymok/fix-routing
Browse files Browse the repository at this point in the history
Fix incorrect routing for OaH
  • Loading branch information
fna committed Apr 23, 2015
2 parents e1a200c + 565d06b commit 7c72257
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ INSTALLED_APPS += (
Also add the following urls to your core Django project `oah_api/urls.py`:
```python
url(r'^oah-api/rates/', include('ratechecker.urls')),
url(r'^oah-api/county/', include('countylimits.urls')),
url(r'^oah-api/mortgage-insurance/', include('mortgageinsurance.urls')),
url(r'^oah-api/county/$', include('countylimits.urls')),
url(r'^oah-api/mortgage-insurance/$', include('mortgageinsurance.urls')),
```

Sync and migrate the Database:
Expand Down
4 changes: 2 additions & 2 deletions oahapi/oahapi/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
urlpatterns = patterns(
'',
url(r'^oah-api/rates/', include('ratechecker.urls')),
url(r'^oah-api/county/', include('countylimits.urls')),
url(r'^oah-api/mortgage-insurance/', include('mortgageinsurance.urls')),
url(r'^oah-api/county/$', include('countylimits.urls')),
url(r'^oah-api/mortgage-insurance/$', include('mortgageinsurance.urls')),
)

0 comments on commit 7c72257

Please sign in to comment.