Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Django & Python app
#1
Hi,

I'm working on a project Django + python.
Set-up:
- Front-end: web templates (html/bootstrap)
- Web-framework: Django
- Back-end: calculations + tcp connection

I'm wondering how to 'organize' the back-end side. I would like write the back-end entirely in python.
How should the code be added into Django: should all code be added to the file "views.py" or are there other solutions?

Thanks a lot,

Kind regards
Reply
#2
If the back-end needs to be executed whenever you navigate in the front-end then yes, you have to add your code to views.py
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Django: How to automatically substitute a variable in the admin page at Django 1.11? m0ntecr1st0 3 3,309 Jun-30-2019, 12:21 AM
Last Post: scidam

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020