isa
since your "main" is birgun.py and its inside makale/gazete_views/ then thats your root path. thus makale.models should be inside this dir makale/gazete_views/makale/models(.py)
makale/gazete_views/ is my folder for a group of views. my models.py is inside of makale folder. I don't understand why should I create a subfolder /makale/models inside of gazete_views
inchidi
makale/gazete_views/ is my folder for a group of views. my models.py is inside of makale folder. I don't understand why should I create a subfolder /makale/models inside of gazete_views
because you run python makale/gazete_views/birgun.py and not python birgun.py cd into makale/gazete_views/ wont change anything, your root project will still makale/gazete_views/ tho
Ravi
Use jinja truncate
Thanx Aditya bhai
Anonymous
Can I use socket module in django for making chat application if yes how
Anonymous
What is difference in socket and channels
Anonymous
How channels work
Mirco
!search
Doragonsureiyā
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box write down the same words you asked here Step 4: Read the firsts results
Damron
dj-channels are using sockets, try to search for tutorial in YT
Carbon
any one is there to help me out run aproject on heroku
Rigan
Have you ran into any errors so far?
Carbon
Application error
Rigan
Application error
Can I see the dyno logs?
Carbon
http://kanchan02.herokuapp.com
Rigan
Does it run in your machine, before deploying?
Carbon
Yes
Carbon
Bro
Lelouch
Hey gys I used ajax to auto reload page But its not stoping Any alternative I am using it in chat
Anonymous
http://dpaste.com/0F7P9ZM Can anybody help with this? graphene_django
Anonymous
http://dpaste.com/0F7P9ZM Can anybody help with this? graphene_django
Could not import 'vue_django_todo.schema.schema' for Graphene setting 'SCHEMA'. AttributeError: 'String' object has no attribute 'name'.
CJ
Hey there please help me.. How can I fetch data from Django database and show it to ChatBot made via Diagflow
CJ
I already googled it with all possible way
CJ
But nothing helped
Anonymous
Cheap
dpaste.com/0BMQ69Z i am using aws RDS postgre with public availablity on i am able to make migrations to that db but dont know why am i getting this error on prodcution, this error was not on localhost.
isa
https://stackoverflow.com/questions/61487791/i-cant-run-a-python-file-in-a-subfolder-of-a-django-project
Alberto
What would you recommend me to style a form? I'm confused on use Bootstrap or doing by my self on the html file, which of both would be more efficient?
Alberto
Whatever you like and you feel confident
I had tried to use Bootstrap form template and I'm not sure how to add my actual form to this template
Anonymous
settings.py file
I figured it out. In one of my mutations, I was returning a string instead of an instance of the mutation itself
محمد
I want check connect to databases and check username and password is true or false
Vahe
Hey guys, hope you are all doing well. I need some advice from experienced Django developers. Is it a good idea to integrate Django with Firebase and use the firebase authentication and firestore database instead of the ones that Django provides?
Aito
Who quickly? Django & NodeJS?
Alex
Who quickly? Django & NodeJS?
yes, django + rest framework
Mirco
Who quickly? Django & NodeJS?
If you are here, the answer is well known
cj
Who quickly? Django & NodeJS?
PHP... now leave the group please
Anonymous
Hey guys, hope you are all doing well. I need some advice from experienced Django developers. Is it a good idea to integrate Django with Firebase and use the firebase authentication and firestore database instead of the ones that Django provides?
It depends on you man... Though read this article. I don't know how true these claims are but they're worth looking into https://medium.com/@scosta/why-firebase-sucks-ce5d2302eb20
Anonymous
Thx
You're welcome
Maz
Hey guys, hope you are all doing well. I need some advice from experienced Django developers. Is it a good idea to integrate Django with Firebase and use the firebase authentication and firestore database instead of the ones that Django provides?
Firebase is okay...but is mostly optimized for mobile apps, not web apps. Even the older Datastore was customized to handle mobile app backends due to Google's Android dominance. If you use Django on GCP it's probably better to go with App Engine + Cloud SQL, or a VM with Gunicorn and a Postgres server on GCP. Just my 2 cents though.
Maz
https://www.reddit.com/r/django/comments/bqyoem/django_with_firebase/ Check out these comments from guys who've tried to do it before.
Anonymous
def get_queryset(self): return PersonQuerySet(self.model, using=self._db)
Anonymous
What does this means
Kushal
pastebin.com/nBzRcGi0
Kushal
pastebin.com/nBzRcGi0
How to solve this problem
Doragonsureiyā
What does this means
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Falish
Hi guys, i have one rest api which i want to authenticate during django login and keep that api authenticated across sessions. Do anyone have any idea how to do it? My django user is already authenticated using LDAP. Thanks in advance😁
Romila
IntegrityError: column name cannot be null when defined database field as not null and trying to alter it by null=true and blank=true
ps
Can we send mails automatically on regular interval in django
ps
How pl tell
Bheeshma
I dont know exactly but it is possible
Bheeshma
Just Google it about newsletter or marketing mail django something u will get what u want i guess
ps
Ok thanks, i was searching for celery and cron-django
ps
But cant find what i wanted
Kushal
pastebin.com/VkyJQGjx
Kushal
pastebin.com/VkyJQGjx
Dropdown not working
Arun Pandiyan
anyone pls?
From the error message, django tries to communicate using socket locally. And you said you are using RDS. Paste your settings.py to have more idea
Aditya
can anyone help me converting Flask code to Django?
Aditya
it's a small code though
Anonymous
<a href="santhoshapp/test.html">test</a>
Anonymous
if i click this test html in web browser its not refering the test.html file
Anonymous
please slove this error
Anonymous
please
Anonymous
It should work make you sure the path is correct, also it shouldnt be a problem but add alt attribute too
Anonymous
no
Anonymous
but
Anonymous
views.py