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
{{ message }}
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.
I think I might be misunderstanding a little bit of how to set this up. But I have created a new app. I have then created the an alexa.py, and added the DjangoAlexa to urls.py; but it is still using the default alexa.py, e.g. not picking up the intents from my version of alexa.py.
Could you let me if there is a step I am missing outside of creating alexa.py in my app, adding the URLS. When I test on the alexa development console, I am always getting the default text: -
"text": "Welcome. What would you like to do next?"
The text was updated successfully, but these errors were encountered:
make sure you add the environment variables for your skill. I at first thought this was in the settings.py, but it is not. You have to add these in your OS. Note that the part after "ALEXA_APP_ID_" tells django-alexa which django project to look under. In this case it is "my_app"
On linux:
export ALEXA_APP_ID_my_app=amzn1.echo-sdk-ams.app.e18a3326-4775-45f2-83n0-5eeg03832401
In your project, you have to tell your project where to put the alexa urls. So, in your project folder base urls.py (e.g. ~/django/my_app/my_app/urls.py) add this at the top:
import django_alexa # to include django-alexa
and then
url(r'^', include('django_alexa.urls')),
In my case, I could not get it to automatically load the alexa.py file, so I forced it to load by adding this line to my ~/django/my_app/my_app/init.py
import alexa
These steps worked for me to get it to stop doing what you described.
Hi,
I think I might be misunderstanding a little bit of how to set this up. But I have created a new app. I have then created the an alexa.py, and added the DjangoAlexa to urls.py; but it is still using the default alexa.py, e.g. not picking up the intents from my version of alexa.py.
Could you let me if there is a step I am missing outside of creating alexa.py in my app, adding the URLS. When I test on the alexa development console, I am always getting the default text: -
"text": "Welcome. What would you like to do next?"
The text was updated successfully, but these errors were encountered: