Mirco
You are not using django , aren't u ?
Esraa
I am beginner, start with coding simple python code
Esraa
Thanx
maroong
i am just using bootstrap for now
Customising is very difficult. At least for me.
Melvin
How to create a custom user model?
Julio
How do I import scrapping data to my Django?
cj
How to create a custom user model?
that was asked many times and answered before, use the search bar in the chat and you'll find it
Melvin
Okay
Melvin
Any particular modifications to be made when using it with rest
Melvin
?
Julio
where is your data?
In many CSV files
Shaun
u can import to a database and then connect via django
Julio
u can import to a database and then connect via django
Thx men Django don't have any problem with data input in database?
Shaun
you can write a script (not in django) to import from csv to database. no need for django to import.
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.
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.
Govind
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.
It's showing - 'user', models.ForeignKey(default='3', no_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)
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
And after storing used classname.filename.url
Eugene
Hi guys! How i can run background celery tasks after running my django server?
Eugene
dev
Mirco
Start Django, open another shell session into your project tree and start celery This is the most "stupid" one
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
Sure, what questions do you have?
I Don't Know Where to Start😅
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
Doragonsureiyā
Guys plz suggest me a book on django.. i am familiar with basic. Any recommendations will be helpful
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
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;
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?
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
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
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
How to create a custom user model?
pip install Django-CustomUser-Model
Ghorz
pip install Django-CustomUser-Model
https://pypi.org/project/Django-CustomUser-Model/
Ghorz
https://pypi.org/project/Django-CustomUser-Model/
https://www.ghorz.com/blog/Tutorial/2019-08-22/5/how-to-create-django-custom-user-model-using-django/
George
I just read this article, it's fantastic https://www.toptal.com/django/django-top-10-mistakes
George
https://pypi.org/project/Django-CustomUser-Model/
Is this really necessary? the social media is nice i guess
Melvin
Can someone tell me how to connect to mongodb atlas from django?
George
Can someone tell me how to connect to mongodb atlas from django?
Isn't this explained in the django docs?
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!!
Ghorz
Also, where is your repo?
Will make it available, I want bug report from users so I can release a stable version