Skip to content
Ivan Aguilar edited this page Mar 21, 2017 · 2 revisions

Django

Here we will include a log of the work done on the Django web app.

  1. We start by creating a project. django-admin startproject DeepChatModels
  2. 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.
  3. The landing page will be a text input field which the user can type into, so we must add a urls.py file to the userinput directory and map this to the index view.
  4. We also modify the urls.py file for the project, DeepChatModels, so that we can reference the userinput app.
  5. We make sure to add the app into the installed apps list in the settings.py file.
  6. We create a template for the index view which in order to process the form.

Clone this wiki locally