Anonymous
Mirco
You are not using django , aren't u ?
Esraa
I am beginner, start with coding simple python code
Mirco
Esraa
Thanx
Melvin
How to create a custom user model?
Julio
How do I import scrapping data to my Django?
Melvin
Okay
Melvin
Any particular modifications to be made when using it with rest
Melvin
?
Shaun
Julio
Shaun
u can import to a database and then connect via django
Shaun
you can write a script (not in django) to import from csv to database. no need for django to import.
Julio
Shaun
maybe there is a toolset in django to help import csv on a regular basis. But i suggest to just write the import and use Airflow if you need to make it run on a schedule.
Julio
cj
Cesar
Hello , does anybody knows in drf how can i validate if a parameter is set in the url?
i have a workarround with dispatch but if parameter is not set it returns error 500 even when i have code=400 in my code
https://mypastebin.com/raw.php?id=EZl4oy
Govind
Hello Everyone,
How can I save user ID using models and forms in database?
Govind
I used this in models -
user = models.ForeignKey(UserProfile, null=True)
Anonymous
i am not confirm but user id already generated if you create any object inside model,it incremented automatically. you also check that inside migrations->0001_initial.py directory.
Govind
Actually It's not working.
Sheshadri
Sheshadri
Govind
am
Hi, anyone can help me. I have extend User model using one-to-one relation.
But, when I try check wheter the model valid inside the User or not
if hasattr(request.user, 'operator'):
return True
else :
return False
I got False.
Someone help me?
Naveen
Guys, do u know from where I can get pycharm key for free
Ahmet
if you are a student or educater (that means if you have an email with .edu) you can register for Educational Edition
Ahmet
otherwise you chould use community edition which is already free
Anonymous
Anonymous
And after storing used
classname.filename.url
Eugene
Hi guys!
How i can run background celery tasks after running my django server?
Mirco
Eugene
dev
Mirco
Start Django, open another shell session into your project tree and start celery
This is the most "stupid" one
Eugene
Eugene
I tried to run tasks in celery.py but i stumbled on import error my tasks in celery.py
Mirco
I want this to work automatically (
There are so many ways to do that
If you have a basic knowledge of Linux shell ( if you are using Linux ) , you should already know how to accomplish it
victxr
hello.
im tired of circular imports. is it ok to make all foreign keys "appname.Model" instead of real importing?
Giuseppe
Good morning guys! I would like to integrate into my webserver an application that allows me to define jobs for submission to a remote HPC cluster, and then pull the results. Can you help me? Thanks
Ricardo
Sure, what questions do you have?
Giuseppe
is there any official dJANGO docs?
Doragonsureiyā
is there any official dJANGO docs?
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Dhruva
When I login successful using rest auth I get token instead I want to display details of user how to do?
Sheshadri
Naveen
Guys plz suggest me a book on django.. i am familiar with basic. Any recommendations will be helpful
Anonymous
Can someone advice me good topics explaining how to work with agregation, grouping?
I need to translate this sql to django code...
select chat_id from (
select chat_id, count(account_id) as accs_in_chat from accounts_chats_inclusions where account_id = 3 or account_id = 1 group by chat_id
) as _ where accs_in_chat = 2;
Giuseppe
Anonymous
Hello guys anyone with an idea how to post Instagram feed on your django project
Muhammed Enes
Hello everyone. How can i solve this problem? Refused to execute script from 'http://127.0.0.1:8000/static/back/assets/libs/bootstrap/dist/js/bootstrap.min.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Sandeep
can we connect firebase with django?
Anonymous
Sandeep
i have a android app with firebase connected and client want a web admin panel for that.
how could i make a web admin panel for him with django.
Anonymous
Anonymous
https://youtu.be/8wa4AHGKUJM
Anonymous
Let me try that
Vignesh
Can host django on openshift
Vignesh
Is there any free website to host django expect python anywhere
Muflone
Vignesh
Y does no one suggest openshift its life tike free is there any disadvantage that am not aware of
Muflone
try it by yourself if it works
Muflone
and then come back here to inform us
Ghorz
George
I just read this article, it's fantastic
https://www.toptal.com/django/django-top-10-mistakes
Melvin
Can someone tell me how to connect to mongodb atlas from django?
George
George
Melvin
Isn't this explained in the django docs?
I tried few methods
But it doesn't seem to work
I made the migrations but when I check back at the atlas site the data is not there
I dont understand where the data is being stored!!
George