-
Notifications
You must be signed in to change notification settings - Fork 75
Django
Ivan Aguilar edited this page Mar 21, 2017
·
2 revisions
Here we will include a log of the work done on the Django web app.
- We start by creating a project.
django-admin startproject DeepChatModels - Next we need to create an app for this project. We create the userinput app which will take in the users text and feed it into our model.
- The landing page will be a text input field which the user can type into, so we must add a
urls.pyfile to the userinput directory and map this to the index view. - We also modify the
urls.pyfile for the project, DeepChatModels, so that we can reference the userinput app. - We make sure to add the app into the installed apps list in the
settings.pyfile. - We create a template for the index view which in order to process the form.