If you want a simple way that manages all the deployment then use
https://www.zappa.io/
Be warned- the IAM permissions for storage can be a pain (as with using
most of AWS)!
On Thu, 4 Jul 2019, 07:15 Nick Sarbicki, wrote:
> The best way to deploy a static website is certainly on a bucket like
What's in your urls.py at the project level? Do you have a copy of the
urls.py that sit within the deleted app folder?
On Sun, 16 Jun 2019, 09:09 anchal agarwal,
wrote:
> I recently deleted one of my app from my website directory. For deleting
> app I removed that app name from settings.py also
These are the settings to use in settings.py:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'DB-NAME',
'USER': 'USER',
'PASSWORD':'PASSWORD',
'HOST':'HOST',
'PORT': 'PORT',
'OPTIONS': {'charset': 'utf8'}
}
}
*Dave Edwards*
Email >
Apologies that was from when I used MySQL, please use the following for
postgres:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'HOST':'HOST',
'PORT':'PORT',
'USER':'USERNAME',
'PASSWORD':'PASSWORD',
'NAME': 'DATABASE NAME',
}
}
*Dave Edwards
4 matches
Mail list logo