-3

please, tell me what is wrong in my first view Django because not working https://github.com/Fgregorio1/ftgtraderexample.git

Fgregorio1
  • 19
  • 2
  • You haven't said what the problem is. 'not working' isn't enough information to help - please show the full error and traceback. You're less likely to get an answer if you link to a repository instead of showing the code here. – Alasdair Oct 08 '19 at 14:01
  • The repository consists of two django projects. One has the view that you want to access from the other's urls.py – Frank Oct 08 '19 at 14:11

1 Answers1

0
  1. Remove second django project dir 'myproject'
  2. Add 'path('', views.home, name='home'),' to your urls.py inside newsite
from django.contrib import admin
from django.urls import path
from boards import views

urlpatterns = [
    path('', views.home, name='home'),
    path('admin/', admin.site.urls),
]

additional i'd suggest:

Frank
  • 1,959
  • 12
  • 27