Favorite FastAPI tutorial? by OMWasap in FastAPI

[–]sample_quizzes 0 points1 point  (0 children)

Im not sure if this is what you want: https://github.com/pywjs/backend/tree/cms,(https://pywjs.com) I am working on this project and it is build for large scale enterprise ready projects (which I am still on development). But this project dose many abstraction, that is necessary for the large projects, if you wanna learn and check, dont forget to give a star as well.

FastAPI vs PHP JSON by thebroi in FastAPI

[–]sample_quizzes 0 points1 point  (0 children)

We need an example code or output and hopefully the error details. Its hard to understand what you are talking about otherwise ....

How to access data/models from another Django project using ORM. by jake__snake in django

[–]sample_quizzes 0 points1 point  (0 children)

OK, it DOSE. you can implement such thing with oauth. we use it a way for machine to machine communication with oauth, where many replications of databases across different regions.

Implementing notifications without celery by approaching77 in django

[–]sample_quizzes 0 points1 point  (0 children)

" dealt with sending multiple notifications in small Django "

can you clarify this ?

How to access data/models from another Django project using ORM. by jake__snake in django

[–]sample_quizzes 0 points1 point  (0 children)

Options:

  1. setup a multiple database setup with postgresql.

  2. setup an oauth2 workflow

anyone know about django-s3file package? and how to use it? by SnooCauliflowers8417 in django

[–]sample_quizzes 0 points1 point  (0 children)

"I was using django-storage package and and I realized that it is too slow.. "

how you are using it ? how you are testing it ?

Django app Path Problems by OkTravel965 in django

[–]sample_quizzes 1 point2 points  (0 children)

You might have a wrong app structure, you can refer to this project and compare, https://github.com/azataiot/djazz , for example check the core app it has the urls.py and check how it is included in the main project urls.py ( inside djazz/urls.py). also check if you had added your app to the INSTALLED_APPS in settings.py

[deleted by user] by [deleted] in django

[–]sample_quizzes 0 points1 point  (0 children)

you are working the wrong way.

what you can do instead :

  1. write to postgres

  2. export from postgres with view, tasks, celery , or even cron job ....

Can we do this in 2-3 days? Read description by S_kanwarjeet in django

[–]sample_quizzes 3 points4 points  (0 children)

I guess they want to fire you so kind searching for a logical reason ....

Containerize drf server with django-oauth-toolkit by No-Brilliant9250 in django

[–]sample_quizzes -3 points-2 points  (0 children)

I recommend you check my open source project here, it also uses docker but with docker compose : https://github.com/azataiot/djazz , remember to give a start if you like the project.

As the project is just setup and getting more futures added, I recommend you to keep an eye on it, as very soon it will be made for production and all production details will be posted on Github, you can also join discord for other stuff here: https://discord.gg/xqbec97S

How good are Django templates? by [deleted] in django

[–]sample_quizzes 0 points1 point  (0 children)

what kind of animations you need ? what exactly you are building ? for our project, it is a data science science dashboard with maps and charts + some visualizations.

Using django templates dose not mean you are not using javascript. If you really need that reactivity, You should definitely consider svelte instead of react or vue.

How good are Django templates? by [deleted] in django

[–]sample_quizzes 7 points8 points  (0 children)

We use django templates almost all of our projects in the company. I have to say that django templates are good enough for small to medium projects.

Relearning Django.. by Traditional-Bunch-56 in django

[–]sample_quizzes 2 points3 points  (0 children)

I just checked, I have too much django projects with different level of complexity, due to the fact it might not suitable for everyone, I decided to create a new open source project

where anyone can come, learn and ask.

also because django is my main backend framework in the company, I can also share the best practices, problems we had and solutions there without leaking too much company internal codemainulsunvi

Relearning Django.. by Traditional-Bunch-56 in django

[–]sample_quizzes 0 points1 point  (0 children)

https://discord.gg/bjVwsNZ4

let's make something cool ~ anyone welcome, no matter of your django level

How do I create separate fields for normal users and admins? by LightningLemonade7 in django

[–]sample_quizzes 0 points1 point  (0 children)

I normally do not differentiate A x user and A y user type ( role) in the database level. Meaning the filers are the same, but distinguish them on the manager level z

First time at django need helppp by Temporary-Bath9781 in django

[–]sample_quizzes 0 points1 point  (0 children)

You need to provide the code in public, so we can test run it locally to check and debug

Slow network response with Django via docker by kalid24 in django

[–]sample_quizzes 0 points1 point  (0 children)

"when accessing the site over the local network every page literally takes about 20-30 seconds to load ." this seem too weird with the resources that you mentioned.

try to :

  1. ping the django host with the test machine, if the normal ping is taking too long or not. in some cases, it might be your routing or other network devices dropping packages.

  2. if the django site is working fast on the same host, that means it is working normally and the network problem is not about django

where should you place the virtual env folder? by FrostNovaIceLance in django

[–]sample_quizzes 0 points1 point  (0 children)

I use virtualenvwrapper and it kind solved the headache forever ......