Mirco
How to separate date , time from timezone.now().
It's python stuff, look for it into py official docs
Gaston
https://stackoverflow.com/questions/57102512/django-formset-dynamic-cant-add-forms do you give me a hand with this problem?
Gaston
I read a loot about JQuery and formset but cant fix it
Naveen
How to separate date , time from timezone.now().
django provides inbuilt features. Look for them on google
Naveen
https://docs.djangoproject.com/en/2.2/ref/templates/builtins/#date
Sirius
Hello everybody! How to set several apps in the project.
Sirius
$ django-admin startapp ...
I mean to connect 3 apps in the project
cj
I mean to connect 3 apps in the project
like any other normal Python module 🤷🏻‍♂️
cj
How to do that?
using import 🤷🏻‍♂️
Alexey
I mean to connect 3 apps in the project
Copy app folder to the project and add it to installed_apps?
cj
but... what do you really want to do? 🤔
cj
Copy app folder to the project and add it to installed_apps?
I guess he wants to do something slightly different 🤔but I can't get to read his mind clearly yet
Alexey
Or it is not django app?
Sirius
but... what do you really want to do? 🤔
I have 3 apps. (Accounts, Questions and Answers). I want to connect them.
cj
(I'm trying to understand your mind, to guide you in the correct path)
Sirius
(I'm trying to understand your mind, to guide you in the correct path)
My Question's app depends on my Accounts app and my Answer's app depends on my Questions app. I don't know how to set them in my urls.py
Sirius
🤔 depends on what way?
I mean how to connect them in my root urls.py
cj
I mean how to connect them in my root urls.py
well... in urls.py you just have to set one url per each app 🤷🏻‍♂️ no more things needed there
cj
something like: urlpatterns = [ path('accounts/', include('apps.accounts.urls')), path('questions/', include('apps.questions.urls')), path('answers/', include('apps.answers.urls')), ]
cj
but, I'm still feeling you want to do something different 🤔
cj
but I can't get it well...
Sirius
but I can't get it well...
I'll try it. Thank you so much!
Anonymous
hi guys when we want look at django full stack as python dev'ops i can't replace any tools for maven(it is for java and i looking for a good tools for python) any body can guide me???
Anonymous
hii
Anonymous
how to connect django users with facebook applications
👍
how to connect django users with facebook applications
use this https://github.com/python-social-auth/social-app-django
Marvin
Hey there,is there a way I can make for instance: I got a model for room and a model for client. No two clients can have the same room.In this case during display,hte room would be unavailable in the options
sizemore
django1.8.1 search_fields retrieves the model fields or the results of the query
sizemore
anyone konw 'itertools.chain' object has no attribute 'model'
sizemore
when i merge two queryset
Karthik
Hey...New to this group ......and for django also Someone help me to where can I start
Anders (izzno / gooood) 🇳🇴
Try Django Channels
That's WebSockets
Anonymous
You are trying to connect to host application via sockets right?
Anders (izzno / gooood) 🇳🇴
I am using that, I asked about socketio, that's another implementation (of WebSockets) flask has a package.
Anders (izzno / gooood) 🇳🇴
It abstracts some more than plain old fashioned WebSockets 👌
Anonymous
Hi guys ı need help ı want to my office camera on my django project ?
Anonymous
anyone help ?
Marvin
The model client must have a foreign key to room. The room will have many clients
Trying to replicate this: https://github.com/AhmedMorsy95/Hotel_Reservation but for one hotel. So I got models almost similar.
Marvin
The model client must have a foreign key to room. The room will have many clients
The condition should be a room with only one client no?
Ashutosh
Hello guys I am getting error Class 'enloyee' has no objects member pylint(no member)
Ashutosh
How to solve this
TallYoda
You could start by renaming the class to 'employee'
Akhil
https://medium.com/esketchers/django-social-auth-integration-with-django-rest-framework-9c04469e378f Guys I am integrating social authentication (Facebook,google) into my django rest API project using above link..but in step 9 I am getting 404 error in postman..please help me..?
Anonymous
Currently, when I add some details using form it shows that information to all the user. How can I restrict that information to the user that adds that data?
Hemant
Can anyone help me about kivi problem How I solve kivi opengl problem He always say opengl 1.1 detected minimum requirement is 2.0 please upgrade your graphics driver But my opengl version is 2.1 and I am using Python 3.7 and windows 10
أمجد☄
how can i use anotate in a model to register it's objects in the admin panel ?
Anonymous
guys hello need camrestream on django project anyone know this case ?
Anonymous
Sorry, are you looking for what? A tool??
hi sir yes i looking for a tool for resource mangment
niwla23
https://haste.thevillage.chat/dekubuyami.py
niwla23
I can only access from localhost :(
niwla23
Why?
niwla23
Not working:
niwla23
http://192.168.178.49:8000/
niwla23
Working:
niwla23
http://localhost:8000/
Давид
Hi! Help me please Pictures are not displayed in the admin panel. All day I can not solve the problem :( Windows 7 http://priscree.ru/img/8ee35aa57af84e.png
Давид
Sorry for my English
niwla23
it alwasy says connection refused
niwla23
But its set to '*'!
Ильяс
Can anyone give a link to tutorial for django telegram bot
Ильяс
?
Naveen
You need to create a telegram bot and then you can integrate with django. Google this - *create telegram bot with python*
Ильяс
You need to create a telegram bot and then you can integrate with django. Google this - *create telegram bot with python*
I already created a pure python bot, and now i want to know if there is anyway to create one using django
Naveen
What really you want to do ?