You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installing django-redshift using pip install django-redshift puts a directory in site-packages named "django-redshift". To import it, one would use import django-redshift, but the dash there is a syntax error. Workarounds for this include:
Putting a dash-less symlink in site-packages to django-redshift allows the module to be imported using the name of the symlink.
Doing something like django_redshift = __import__("django-redshift") instead of a regular import statement.