Anonymous
Rajjix
Have you tried searching manually ?
Rajjix
If you want put ur code on github 2mrw i’ll clone it n find a fix for it
Anonymous
https://stackoverflow.com/questions/53393032/django-selection-field-value
Anonymous
Sh
Pls help with PyCharm
Sh
11/21/18
10:31 AM Unable to save settings: Failed to save settings. Please restart PyCharm
10:32 AM Unable to save settings: Failed to save settings. Please restart PyCharm
Ronald
Anonymous
None
Есть 3 контейнера, джанга, редис, селера. Селера брокер = редис. По идее когда инициализирую таску она летит в очередь и должна быть в редисе, но KEYS * ничего не показывает, куда смотреть ?
Mirco
english pls
None
I have three docker container with Celery, Redis and Django. Celery brocker is redis. When I initialize a task it should be put in redis but when I go to redis-cli and do KEYS * there is nothing. How and Where can I check my queue?
Akash
Ok I have gone through multiple django tutorials and followed tutorial projects.
Now I a building my first real website.
What things I must take care of for a real project. (Tutorials usually ignore some practical parts)
And one imp question is what's used more in real life projects.
Class Based Views or Function Based Views
Akash
Mirco
None
Mirco
Mmm strange, there's something wrong with your tasks
None
I need to check the queue
None
Need to check all tasks in queue
None
and find specific in it
Mirco
you can use elery inspect() to inspect workers and acitve, registered etc. tasks
None
It doesnt show. I already have found the answer
None
I need
None
PUBSUB CHANNELS *
None
It shows all tasks
Andrii
guys! Need a solution
I have a form, i.e. adding items in form
how can I make it change dynamic?
For exampe :
I open form with one row where are :
name and ammout
Than I want one more row(the same one) and so on..
Do u know smthing?
Andrii
yeap, I thought about this,
Andrii
but I am also thinking about formset
Andrii
and also js
Andrii
how do u think, will it work better?
Rajjix
idk 😐, I don’t use django templates
Andrii
ok, thanks
Mirco
You can do it with js , it's just frontend stuff
cj
Andrii
thanks guys!!
Luis
I found this post usefull:
https://medium.com/@hakibenita/things-you-must-know-about-django-admin-as-your-app-gets-bigger-6be0b0ee9614
Luis
May be offtopic, but I think everyone should read these post
Anders (izzno / gooood) 🇳🇴
Is it still valid for 2+
Luis
I think some of the content is valid, but some code examples are for older versions
Luis
I'm working on admin site, and logging the SQL queries made by the ORM, I found some tips to enhance these queries.
Anders (izzno / gooood) 🇳🇴
im looking at my list view and see join being used, 2.1
Luis
Mainly JOINs
Anders (izzno / gooood) 🇳🇴
Yes, I saveed the article for later. I dont have 100 000 users ;), but it's a good read it looked like, thanks
Anonymous
now inside the app i created /templates/blog and /templates/blog_bases
Anonymous
and i use blog_bases dir to extends and include htmls
Rajjix
Great, to avoid naming hiccups, u can make one templates directory in the root directory and branch out ur apps’ templates from there, becomes easier to manage
Anonymous
Anonymous
i want to work a view function automatically in the background what did i do for that? i heard about celery.
Anonymous
TypeError: autodiscover_tasks() missing 1 required positional argument: 'packages'
dynamic
Hello guys, can someone help me with understanding where TestCase should not be used when compared to TransactionTestCase.
Anonymous
[2018-11-22 07:24:11,153: ERROR/MainProcess] consumer: Cannot connect to amqp://guest:**@127.0.0.1:5672//: [Errno 111] Connection refused.
Trying again in 2.00 seconds... any one please help me for this error
Vichu
Vichu
Adonis
Hi
Anonymous
Yo
Anonymous
Ni hao ma?
Mirco
english pls
Sergei
Hello, everyone!
Could anybody suggest a database to store only key-value pairs?
Anonymous
firebase
Sergei
What about pickleDB?
Sergei
I might have made the wrong choice .
I ask to check
May be you have better solution
Anonymous
What is different version python, between web-base and executable, embeddable?
Luis
Guys, I'm working on admin site and created two AdminSite classes. How can I create another AdminSite containing the others ?
cj
Luis
I created the two AdminSite classes. But if I register both under same url it show only one of them
Luis
Sorry for my english...
Luis
Then, I'm looking for a way to centralize them whithout overwrite index
Luis
May be I'm doing things wrong way...
Luis
Ok, will overwrite/extend the admin index...
Anonymous
firebase
I am really not sure about it ( but just asking to know). Is it possible to run the django in firebase ?? ( I guess no right ?)
R
Don’t think so
R
Redis can also be used to store key-value pairs
amit
How long does it take to build a notifications specifically in Django for social media alike site ?
Also how long does it take to build a chat using channels in Django ?
Akhil
How can I create a custom user field for user ? Using abstarct base class