Yooo
ok
Yooo
template is in project folder
Charly
Yooo
tried didnt work :proj2/template/app1/index.html
Charly
Yooo
yes with s only
Charly
and app1 shoud be the name of your app (not project)
Yooo
def temp(request):
return render(request,'proj2/templates/app1/index.html')
Charly
Charly
but the path should be the one I told you
Yooo
worked thankyou
Yooo
but i have one doubt template should be in project folder right
Yooo
or can it be anywhere?
AleX
Good night
Tell me please.
How can I implement getting a data object via API in django rest framework.
that is, I send to the front via api
id_product, name_product, total_product
making orders table now for orders
but I can’t find information anywhere to write down not one product but an object
for example, at the front, several products were selected, the quantity of each product was added to them and sent to the backend via api
but I can't help but realize that such an object would come to me
orders_id:
id_product. count
id_product, count
id_product, count
total_orders
Mohamed
Anyone have a good roadmap for django?
Gaurav
Do anyone know how to diploy django channels with websockets...
Doragonsureiyā
Gaurav
Can you help me
Doragonsureiyā
Gaurav
Doragonsureiyā
Why..??
You can use Google to find that easy thing
Hugo
Hi guys,
I'm a backend engineer. Due to my company circumstances I've been working on some non coding for a year now and I'm feeling like I've almost forgotten everything and lost my skills. I'm at a point where I'm doubting myself.
I wanted to upskill. I wanna learn. Could you please help me with how to fill the skill gap that I'm facing? How to start over? A roadmap would be really helpful.
Mirco
Aritra
Aritra
using flutter
Aritra
don't want to use firebase
Mirco
Aritra
Mirco
Aritra
Mirco
Maybe rethink a bit
Aritra
for users who need... you know... we are not commercial companies... we are students in an university... prof said make an app and see if people uses it or not
Aritra
also it is not coursework... just a hobby...
Aritra
so let the user login twice for now... later when we will be pro in dart and flutter we can code the frontend part in dart only... no webviews then...
Aritra
Mirco
Doragonsureiyā
Gaurav
S
Can anybody give me rest framework project github link?
Maxim
S
Ok
S
But im not getting
ask
Anyone please suggest best free resources to learn django rest framework..
Fabin
Aritra
Sobhan
Hi, hope you have great time. I have an html template that contains one page and there is an email field in it. I want to save all the field entries in the database through the model, but when I check the database, I see the input values are not saved in the database. Do you have any ideas?
.
Sobhan
Sobhan
I think I didn’t get your mean
Alex
are you using function based view?
Hussein
👋 Hello
Hussein
I need the best algorithm for the following example:
I have a lot of posts, it can be a huge number, maybe 10k posts or more
I have a users table
Every user who accesses the blog, I want to not be able to view it again
What is the best way? Thank you in advance
cj
Hussein
Hussein
Sobhan
Alex
Семерухин Михаил
Hi guys! I have an issue! I have created FORM and want to render some data in it. More precise: data i have gotten from API (list of currensy) and want to chose items from this list in ChoiseField in my Form. But nothing works? I got an empty field
VVVVVVVVVV Hear the link for my code VVVVVVVVVVVVVVVV
http://linkode.org/#yG90JVr5vmIghj2Vu2DAh3
🍃
Error: That port is already in use.
👆👆👆
Hello, can anyone solve this problem?
🍃
Hussein
Hi
I have many objects and I have an m2m field, how can I remove an element from the m2m field from all objects
Влад
Hi I am trying to create a json file to load data into a database. The question arose, how to correctly specify your model. It says myapp.person, should I just write "name"?
https://django.fun/en/docs/django/4.0/howto/initial-data/
Nats
I get an Wanring when I use mongoengine and celery with django.
[2022-12-16 04:48:49,805: WARNING/ForkPoolWorker-99] /opt/conda/envs/runtime/lib/python3.9/site-packages/pymongo/topology.py:164: UserWarning: MongoClient opened before fork. Create MongoClient only after forking. See PyMongo's documentation for details: https://pymongo.readthedocs.io/en/stable/faq.html#is-pymongo-fork-safe
Nats
How to creat mongoclient after celery concurrency?
Jasur
Who are do deploy project with crontab ?
Doragonsureiyā
Who are do deploy project with crontab ?
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z!"
Just ask directly! The better you are at explaining the problem, the more likely you are to get help.
Asking smart questions
ishaan
A question : Hi,
Can someone help me with a very simple question.
So basically I am trying to import a json db file to firestore
And i am getting this error :
Root or document reference does not have a collections property
From that I understand that my db is not in the same format as needed
But i can find no diff in the formats
Any idea?
Module I am using is :
Node-firestore-import-export (github)