Jimmies San
let me take the crystal ball 🤔😒😒😒
Anonymous
What should I learn next in django? I recently learnt django forms, password reset, payment integration
Anonymous
What next ? Suggestions pleaae
Anonymous
orm
Thanks
Anonymous
Anything else ?
Jimmies San
Thanks
this is a good one https://books.agiliq.com/projects/django-orm-cookbook/en/latest/
Jimmies San
Anything else ?
CBV - class based views
cj
definitely no, that's why I'am asking. . 🙂
😐😐😐 I'm not sure if you're trolling or being serious
Anonymous
how do I verify a user in django who just registered to confirm using the gmail email he registered, so the user must confirm first before using his account, I use django 1.11 LTS if friends have a tutorial please share, thank you
Hardik
I am getting this error.
Hardik
What to do
Hardik
Type error view must be a callable or a list/tuple in the case of include().
Ashutosh
from django.core.urlresolvers import reverse from django.test import TestCase class HomeTests(TestCase): def test_home_view_status_code(self): url = reverse('home') response = self.client.get(url) self.assertEquals(response.status_code, 200)
Ashutosh
can anyone plz exapin what is going on here
Ashutosh
in this code
cj
can anyone plz exapin what is going on here
what don't you understand? and why?
Hardik
Ok in app/ model
Ashutosh
means what is reverse doing with 'home'
Hardik
Dile
Hardik
Sorry
Hardik
Mistakenly typed
Hardik
In model right
Manuel
I'm new to Django, let me ask a question, can I use JavaScript libraries in my templates?
cj
means what is reverse doing with 'home'
it's getting the URL of the view, reversing it from its name
cj
In model right
what are you talking about?
Hardik
I am beginners in django
Hardik
That's why asking
Manuel
yes
Thank you very much
cj
Where to put this?
why do you want to put that? and where? but most important, why?
Anonymous
Hardik
Getting error
Hardik
Type error view must be a callable or a list/tuple in the case of include().
cj
Getting error
yeah, but... what does it have to do with the code the other asker wrote?
Hardik
Help me if u can
cj
How to solve this error
did you read the django tutorial?
Liton
what is the main job of the group??
John
what is the main job of the group??
+ 1 for this question, i like this . . 🙂
Jimmies San
what is the main job of the group??
give advice/hint to people that want to learn. this mean that before ask you try to find your solution on google, or at least you read the documentation
Jimmies San
if you need a not-paid consultant to solve your problems... wrong place :)
Hardik
Page not found 404 Using the url.conf defined in category.urls django tried url patterns in this order 1 admin/ 2 student/ The empty path didn't match any of these
Hardik
Please help me
Hardik
What to do
Денис
What to do
Provide an empty path, it seems.
Hardik
Can I share u pic of both the urls
Hardik
Csn u help me
Hardik
In personal chat
Денис
How can I help you if I don't even know what you do? Do you try to reach 127.0.0.1:8000 without any following path?
Денис
There's no empty path by default in Django. You must provide it, for example, redirect to /student/
Hardik
Yes I want to direct reach to 127.0.0.1:8000/student/
Денис
Yes I want to direct reach to 127.0.0.1:8000/student/
Please don't use this chat as google. This will help you faster.
am π
How to call/hit via api routeon my local postman which is already hosted/running flask api on aws .. Currently getting no response on call it via postman
Pieas
hello, how can I call a specific row on a table and pass that to view. and can i check if it is available or not?
Pieas
i want to pass the row to template *
Anonymous
Hey @Inchidi
Anonymous
Nice to meet you again
Михаил
Hey guys, how do I count hits with DRF?
inchidi
Nice to meet you again
henlo, but offtopic @pythonofftopic
inchidi
Hey guys, how do I count hits with DRF?
you want to count for statistic or for throttling the requests?
Михаил
ModelDetailView user hits
Михаил
With DRF
inchidi
hello, how can I call a specific row on a table and pass that to view. and can i check if it is available or not?
have you complete the django tutorial? i suggest you to start from there first https://t.me/pythonres/32
inchidi
Uhm, views hits actually
so, for statistic?
Михаил
Yep
Pieas
have you complete the django tutorial? i suggest you to start from there first https://t.me/pythonres/32
i've read django for beginnings. i think i should complete the tutorial
Михаил
Looks like django-hitcount is for simple django views
inchidi
Looks like django-hitcount is for simple django views
how about this? https://github.com/suryadana/django-audit-history/blob/master/audit_history/middleware.py
Михаил
It does hit database on every request