Django Bot
>> Links - Django Class-Based-View Inspector -- Classy CBV
r0b0t
Has anyone used nexmo for two step verification? How do I get the request ID?
Piyush
How can I use oauth2 authentication to my website
Django Bot
>> Jobs - Corporate IT & Security Team seeks System Integration Engineer (f/m)
cj
How can I use oauth2 authentication to my website
the documentation tells you how. 🙄
amit
looks like you want to make a phishing site 🙄 isn't?
Yes , your valueable help will be appereciated .
cj
Yes , your valueable help will be appereciated .
are you being serious? 🙄 you can get banned for that 🤣
amit
looks like you want to make a phishing site 🙄 isn't?
Its not a phising site , JUST like other social media
Django Bot
>> Links - Django AJAX Search With Elasticsearch | Andres Alvarez Dev Blog
amit
Difference bw Django-afmin startproject mysite and python manage. py startapp appone
cj
Difference bw Django-afmin startproject mysite and python manage. py startapp appone
That's in the tutorial and documentation 🙄 did you read it?
Jimmies San
Difference bw Django-afmin startproject mysite and python manage. py startapp appone
please: first search on google, then ask if something is not clear. but try before. thanks.
Django Bot
>> Links - Creating websites using React and Django REST Framework - Tutorial: Django REST with React (Django 2.0 and a sprinkle of testing)
sasuke
Queryset.only(field_names) gives me not only the specified fields but the entire model fields!?
sasuke
Solved gave the field_names to .values()
Django Bot
>> Links - Celery and Django and Docker: Oh My!
S
Can someone explain me how to write a simple function to download a paragraph text in my local server?
amit
I cant access manage.py whenever i run commanf manage.py runserver I m inside project directory and as well as running virtual env . I Dont have manage.py file in Django project .what wrong m i doing ?
inchidi
looks like you are opening your project app dir instead project root dir
Maz
hi guys....running into issues with git.
Maz
To https://******** ! [rejected] schooladminmodule -> schooladminmodule (non-fast-forward) error: failed to push some refs to 'https://bitbucket.org/*******' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Maz
how do i resolve this issue?
Maz
my current branch is 'schooladminmodule'
inchidi
how do i resolve this issue?
it depends on what you want to do with the conflict
Maz
it depends on what you want to do with the conflict
i want to push some new updates to the schooladminmodule branch
Chetan
Because the starting index of search result is 6
Anonymous
Guys need help with deploying django on apache2 ubuntu
Anonymous
I don't know how to direct apache to use python 3
Chetan
Guys need help with deploying django on apache2 ubuntu
Django can be deployed using UWSGI. I have deployed the same thing with nginx.
Chetan
I don't know how to direct apache to use python 3
What is your default python for Linux? I have had the same problem, this is due to multiple instances of python installed.
Maz
The message tells you exactly what to do 🤷🏻‍♂
hehe, i wouldnt be here if i hadnt already tried the git pull....also did a git rebase which fucked up my work because i lost some of it so...
Maz
@Inchidi ...any pointers? My git rebase schooladminmodule lost me some work....googling brings up a whole mess of commands including 'fetch/merge' steps...which i'm sure will fuck me up even more...
Maz
well, i have just done an abort on the last rebase...hasnt recovered my work, but what the hell. Win some, lose some. 🤗
Anonymous
you can use mod_wsgi
I am using mod_wsgi itself. Everything runs but on python 2.7
Shubham
I am using mod_wsgi itself. Everything runs but on python 2.7
you can define which python to use in wsgi.conf
Anonymous
you can define which python to use in wsgi.conf
Can you link me to the proper guide, it would be helpful
Shubham
Can you link me to the proper guide, it would be helpful
https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/modwsgi/
Shubham
Can you link me to the proper guide, it would be helpful
also you need mod_wsgi for python3 too so you should check if you have installed correct mod_wsgi or not
Abhi
Hey guys... I am creating a django site which provides user a session so . This session expires when he exits the site What i want is that when he opens multiple tabs of this site....each session is different
Abhi
How to achieve this
Abhi
?
Anonymous
Abhi
Active what?
How to handle this session system in django?
cj
How to achieve this
that's impossible, multiple tabs on same browser share the same session, what you can do is open a private window to have new session
Abhi
that's impossible, multiple tabs on same browser share the same session, what you can do is open a private window to have new session
What if a token is allotted by the server and this is attached with each request header the browser makes?
Abhi
🙄that's how tokens work... they "travel" in headers
Them can't this token be used for each session?
cj
the point is, each tab opened in the browser for the same site, share a unique session, you can't issolate sessions by tabs in the browser
cj
Why not?
because browsers work that way
Jimmies San
wow we start from the basement :D
Jimmies San
we can arrange lessons 😂
Abhi
^
what do you mean?
inchidi
what do you mean?
did you familiar with localstorage?
Abhi
do you mean window.sessionStorage ?
Mounikesh
the token would be same even the user is using your site in multiple tabs
Mounikesh
or the session would be same
Mounikesh
What if a token is allotted by the server and this is attached with each request header the browser makes?
this might be possible you can allot tokens to particualr urls and send them through headers so if a person tries to acess the login page he needs a different token in his headers and news feed needs a different toke in header you can allot multiple tokens for multiple urls but this doesnt justify your question of where a user opening multiple tabs and every time server responds with a different token for each tab
Django Bot
>> Links - Twitter
Abhi
Is there any book to know django inside out?
Abhi
i mean most of the stuffs
Abhi
and how django actually works
Abhi
thanks
Anonymous
And Doc
Ajay
Guys
Ajay
I need a small help
Ajay
I'm new to django and i want to learn it