cj
Its funny Jimmie San ???
Yes, you have to read it
Dcruz
Yes, TCP over your mother!!!
inchidi
I thought he wanted the API, so that's what I gave him🤷🏻‍♂
yeah, i just realize what he really need after this message tho
Jimmies San
Yes, TCP over your mother!!!
my mother is not a pidgeon :\
Dcruz
Sorry
Jimmies San
i forgive you 😂😂😂
cj
Yes, TCP over your mother!!!
Don't be that bad... That's a classic joke, you really have to read it to understand
Jimmies San
He needs pidgeons🙄🤣
🐥🐥🐥🦆🦆🦆🦅🦅🦅
Dcruz
Sorry Jimmie..i dont mean it..
Dcruz
i really need pidgeons to write here jajajajaja
Dcruz
another question...
Dcruz
what happen if i visit that view traditionally, not Ajax way???
cj
what happen if i visit that view traditionally, not Ajax way???
You will see the JSON rendered in the browser
Dcruz
ok
Huzaifah
Am having a problem sign in doesn't work but registration works on Django rest api ,
Huzaifah
Huzaifah, [05.09.18] It says no user attached to the email Huzaifah, [05.09.18] https://github.com/andela/ah-backend-iroquois/pull/10
inchidi
Huzaifah, [05.09.18] It says no user attached to the email Huzaifah, [05.09.18] https://github.com/andela/ah-backend-iroquois/pull/10
django default authentication backend did not "checking for a user that matches this email/password combination". it will authenticate based on UserModel.USERNAME_FIELD which as default is username. means, you can use user = authenticate(username=data.get('username', None), ...) or create custom user model that override USERNAME_FIELD or create custom authentication backend
Rick
anyone who can help me?
Rick
how to use "SELECT * FROM temp GROUP BY t1,t2" of sql in django ORM?
Rick
Rick
HELP...
Rick
Mirco
how to use "SELECT * FROM temp GROUP BY t1,t2" of sql in django ORM?
https://docs.djangoproject.com/en/2.1/topics/db/aggregation/
Rick
https://docs.djangoproject.com/en/2.1/topics/db/aggregation/
extremely grateful i will try it. I used to use annotate before, but I didn’t care
Rick
"aggregate" It doesn't seem to work
Mirco
extremely grateful i will try it. I used to use annotate before, but I didn’t care
https://simpleisbetterthancomplex.com/tutorial/2016/12/06/how-to-create-group-by-queries.html
Василий
how to use "SELECT * FROM temp GROUP BY t1,t2" of sql in django ORM?
Its not correct sql query. You must use aggregate function with group by
Василий
Example. Select t1, sum(t2) from temp grouby t1
Rick
https://simpleisbetterthancomplex.com/tutorial/2016/12/06/how-to-create-group-by-queries.html
I have used the examples in this article, but I can't get the results I want. I think my sql is very simple, but it is difficult to implement in Django.
Василий
So then orm query is value("t1").annotate( sum("t2"))
Rick
This sql has no problem
Rick
In your case, you can't get values(t1,t2,t3), when group by( t4,t5)
Rick
So then orm query is value("t1").annotate( sum("t2"))
This sql" SELECT * FROM HIVE_TABLE_CHANGE_LOG GROUP BY DB_NAME, TBL_NAME" how to turn to ORM ?
Django Bot
>> Links - Django: A Guide to Upgrading Your Application | Torchbox - Django Under The Hood 2016: Performance Debugging – code.kiwi.com
Django Bot
>> Links - Django & EmberJS Full Stack Basics: Connecting Frontend and Backend — Part
Anonymous
Good aftenoon
Anonymous
My name is lauretta i am new
Isaías
Good afternoon. I need to perform a function every 1 min. How do I do this in Django?
Bakhrom
Hello, Read this: .https://stackoverflow.com/questions/573618/django-set-up-a-scheduled-job
Mirco
Good afternoon. I need to perform a function every 1 min. How do I do this in Django?
Have a look at Django Q https://django-q.readthedocs.io/en/latest/
Django Bot
>> Links - python - How to run cloned Django project? - Stack Overflow
random
Hey guys. I'm using django-telegrambot, django-background-tasks and gunicorn as server. And I got error. [2018-09-06 17:30:36 +0000] [1289] [INFO] Starting gunicorn 19.9.0 [2018-09-06 17:30:36 +0000] [1289] [INFO] Listening at: http://127.0.0.1:8000 (1289) [2018-09-06 17:30:36 +0000] [1289] [INFO] Using worker: sync [2018-09-06 17:30:36 +0000] [1309] [INFO] Booting worker with pid: 1309 Error : Unauthorized() Before it works perfect, but not now😅 Can smb help? Sorry for stupid question I'm newbie in web
random
Also django admin working, but telegrambot not
Anonymous
Hey guys my project has been deployed to heroku but it keeps on displaying the page with an error message: Application Error An error occurred on the application and your page could not be served. Of you are the application owner, check your logs for details. You can do this from Heroku CLI with the command heroku logs --tail
Anonymous
Does anybody has experience regarding this????
cj
It's telling you exactly what to do.... have you ever try? 🙄
Anonymous
I was looking into it but yet I was unable to understand
Anonymous
Any further help would be very useful
Jimmies San
yes but you look on it, but we don't :) take the logs, paste it on dpaste or pastebin and share link
Anonymous
Okay
Anonymous
https://pastebin.com/dsKUH9bL
Jimmies San
https://pastebin.com/dsKUH9bL
2018-09-06T22:54:02.199496+00:00 app[web.1]: ModuleNotFoundError: No module named 'pages_project.wsgi'
Anonymous
But I have this in my project
Jimmies San
share gunicorn config
Anonymous
share gunicorn config
Where is it??? In procfile???
Jimmies San
Where is it??? In procfile???
maybe... i never used heroku
Jimmies San
let me check on heroku docs
Jimmies San
https://devcenter.heroku.com/articles/django-app-configuration#the-basics
Maz
Does anyone have Odoo tutorials, videos or ebooks? Any help highly appreciated.
Anonymous
Hello, i am struggling to achieve that a user view it corresponding page after login in. There is any documentation regarding this ? Thanks...
CONFIDENCE
Hhh
Django Bot
>> Links - Forms have never been this crispy — django-crispy-forms 1.0.0 documentation
Cool
Django crispy form doesn't work with django 2.11??
Django Bot
>> Links - Using Django | Django documentation | Django - Django 1.11 Annotating a Subquery Aggregate - Stack Overflow - The Dramatic Benefits of Django Subqueries and Annotations - How to Implement Dependent/Chained Dropdown List with Django - home - django rest framework
Django Bot
>> Links - python - How to use dynamic foreignkey in Django? - Stack Overflow - The contenttypes framework | Django documentation | Django
Anonymous
Hi guys
Anonymous
Mirco
Hi 😀
Anonymous
I'm starting a project in django but I'm with a problem
Anonymous
Can you help me please
Anonymous
Hi 😀
🕺🏻🤣 hi bro