django-react-redux-base icon indicating copy to clipboard operation
django-react-redux-base copied to clipboard

Updating to more recent version of django, drf, etc.

Open seth4618 opened this issue 6 years ago • 3 comments

This boilerplate project is really awesome. I am thinking of using it, but want to make sure my projects start from the updated version of django and rest framework. To check out whether this was possible, I removed all the version numbers from your requirement files and ran the project. I had to change a few things

  • namespaces in url files
  • using path instead of url for some of the urlpatterns
  • including CORS related middleware
  • some settings

And, most importantly I had to change the const SERVER_URL in src/static/utils/config.js from localhost to 127.0.0.1 otherwise preflight would fail when trying to login. I am not sure why this change would have to be made, but it would not work without it.

I would have put this all in a pull request, but I thought I would open an issue since I am not sure why I had to change SERVER_URL. Any thoughts? Are you interested in an update to more recent versions?

Here are the updated version from py-requirements/base.py:

Django==2.0.9
django-extensions==2.1.3
django-cors-headers==2.4.0

git+https://github.com/aaronbassett/DisposableEmailChecker

# serve files
whitenoise==4.1.1

# Rest Framework
djangorestframework==3.9.0

# Sentry
raven==6.9.0

# for date processing
python-dateutil==2.7.5

# Logging
git+https://github.com/Seedstars/django-rest-logger.git

django-rest-knox==3.4.0

seth4618 avatar Nov 14 '18 19:11 seth4618

I'd really like a response to this issue. It's hard to want to start a new project based on Django 1.x.

This issue is a more general issue of #111.

ckeeney avatar Jan 11 '19 08:01 ckeeney

An update would be great.

On 14 Nov 2018, at 21:07, Seth [email protected] wrote:

This boilerplate project is really awesome. I am thinking of using it, but want to make sure my projects start from the updated version of django and rest framework. To check out whether this was possible, I removed all the version numbers from your requirement files and ran the project. I had to change a few things

namespaces in url files using path instead of url for some of the urlpatterns including CORS related middleware some settings And, most importantly I had to change the const SERVER_URL in src/static/utils/config.js from localhost to 127.0.0.1 otherwise preflight would fail when trying to login. I am not sure why this change would have to be made, but it would not work without it.

I would have put this all in a pull request, but I thought I would open an issue since I am not sure why I had to change SERVER_URL. Any thoughts? Are you interested in an update to more recent versions?

Here are the updated version from py-requirements/base.py:

Django==2.0.9 django-extensions==2.1.3 django-cors-headers==2.4.0

git+https://github.com/aaronbassett/DisposableEmailChecker

serve files

whitenoise==4.1.1

Rest Framework

djangorestframework==3.9.0

Sentry

raven==6.9.0

for date processing

python-dateutil==2.7.5

Logging

git+https://github.com/Seedstars/django-rest-logger.git

django-rest-knox==3.4.0 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Seedstars/django-react-redux-base/issues/115, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHhbwjFAIpwPvu3XxrVa9ywrINXDVxkks5uvGnUgaJpZM4YeYlV.

casibbald avatar Jan 11 '19 08:01 casibbald

Is anyone here in charge?!

kooshan75 avatar Jun 30 '19 19:06 kooshan75