All Questions
83 questions
-3
votes
1
answer
147
views
Learn a framework on a project, or mix languages between backend services [closed]
I am designing my next project, which will do various domain-specific tasks, but all that will be controlled and used via a generic crud web app.
I have been professionally using Java with Spring for ...
0
votes
0
answers
286
views
How to store multiple-users authorization tokens from a single service if I can't use a persistent storage?
I'm new to "web development" so I don't know much about ways to store data.
I'm trying to build a web app using Python-Django which accesses private data from multiple accounts. The data ...
0
votes
1
answer
606
views
Should I Add Integration Or Unit Tests To Django Views
I am currently exploring adding unit tests to my Django REST Framework project. I totally understand adding unit tests for other components of the app like models. However, I'm stuck at testing views. ...
-3
votes
1
answer
92
views
Creating a Django web-app with Sage 200 Database
I have been asked to create a Django/Python web app that creates web-based, .pdf and excel reports from a Sage Evolution database. While the sage front-end is still being used. My client essentially ...
1
vote
1
answer
496
views
Is microservice approach always best fit for ETL processes?
In our project we are using Django and Django Rest Framework as main application to get/query the data from database and send it to the frontend. Those endpoints are very fast as they should be. ...
3
votes
2
answers
3k
views
Communication between two apps
I am thinking of creating two applications, one of which (App 1) will be in Django (DRF) and other (App 2)might be Django but might be another more lightweight framework (maybe Flask or plain Django ...
-2
votes
1
answer
239
views
Use 1 to many relationship on same model or split it into two different models?
I'm building a forum application using the Django web framework but I'm not sure how to design the entity relationship diagram when it comes to the Post model. Since one Post can have many replies, ...
2
votes
1
answer
1k
views
Best approach for developing a stateful computation-heavy application with a rest-api interface using python?
I want to develop an end-to-end machine learning application where data will be in GPU-memory and computations will run on the GPU. A stateless RESTfull service with a database is not desirable since ...
1
vote
1
answer
456
views
How to efficiently communicate with Raspberry Pi using Django/Python
I have a raspberry pi that is sending an https request to my Django application every 2 seconds. The request is essentially asking the application 'Has a user requested data from me?'
My Django ...
-4
votes
1
answer
127
views
Keeping JSON in database
I'm trying to create web app(flask or django-rest) that would scrape some data and save it to JSON so that it can be viewed in the frontend (VueJS).
I'm wondering if it is better to save the scraped ...
1
vote
1
answer
92
views
Scraper in separate repo from visualization component?
Let me explain my thoughts about architecture of the project I'm working on.
The project code repository consist of:
Scrapy component - of course it serves to scrape data, process it and calculate ...
-1
votes
1
answer
397
views
Is Python's Django WebFramework good to design Expert System as a Web App?
I hope everyone is good. Well, I am at the end of my degree BS (Software Engineering), and in the third Phase of my Final Year Project named as 'Test Phase'.
My Project is to build an Expert System ...
2
votes
1
answer
2k
views
Should a REST API be used when a websocket is already open?
Background: I was working on a web-socket application integrated into a more conventional http request based website that uses REST APIs.
Task: I need to retrieve user history from the database for ...
0
votes
1
answer
841
views
Double way parent child relationship in Django
I am building an app to register and update children information, this information is to be provided by their tutors. Every child can have multiple tutors, and a tutor can be a tutor for multiple ...
-3
votes
1
answer
342
views
Why do people keep reusing superclass names in their subclasses?
In my project, I found one of the project's classes reusing the same name as an official one.
For example:
from django.db import models
class Model(models.Model):
class Meta:
abstract = ...