I'm trying to follow along with the example shown here: https://pyforms-web.readthedocs.io/en/v4/getting-started/first-app.html to get the first app running.
The Directory Structure of the default Django app looks like that.
I added the code as in the example, ran migrate and opened the brower, but only the default Django page shows up.
My site_crawl.py looks like this:
from pyforms.basewidget import BaseWidget
from confapp import conf
class SiteCrawlApp(BaseWidget):
UID = 'site-crawl-app'
TITLE = 'Site crawl'
LAYOUT_POSITION = conf.ORQUESTRA_HOME
ORQUESTRA_MENU = 'left'
ORQUESTRA_MENU_ICON = 'browser'
ORQUESTRA_MENU_ORDER = 0
The settings.py looks like:
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'project',
]
Those are the only changes I made to the default structure created when I ran django-admin startproject project
also ran python manage.py migrate
before starting the web server with python manage.py runserver
.
I'm using Python 3.6.0, Django 2.1.7 and Pyforms v4.
Can somebody help me figure out what I'm doing wrong? Thanks!