Anonymous
i sent data through from form and the url was displaying my contents like 127.0.0.1:8000/index?username=olly&password=blabla, How do i encrypt this please?
Anonymous
i dont even know the terminology to give to this.
Jimmies San
Anonymous
thanks
Rajendra
Hello all, i am making a django application which will serve mcq questions to students.
Now, for tests i have set a timer and the form is auto-submitted when the time is over.
The question is how do i save the answers clicked by the user ? Should it session wise. How to retrieve the results back to the user of his test ?
Any suggestions would be highly appreciated
Anonymous
Jimmies San
Jimmies San
or maybe you can use something like [or study how they do]
https://github.com/macropin/django-registration
Jimmies San
if needed thirdy party login can use django-allauth
https://github.com/pennersr/django-allauth
Rajendra
use session
I tried to use session, but i observed that a dictionary is maintained for session.
Now if the user changes the answer multiple times, all the values are saved in dictionary.
so, was not able to successfully use session
Jimmies San
Anonymous
Anonymous
Rajendra
Jimmies San
Jimmies San
can use ajax to avoid reloading
Anonymous
Jimmies San
or handle key:value on session to avoid repetition
Rajendra
on database
saving all the values everytime in database would not be feasible solution
Django Bot
>> Links
- Working with Asynchronous Celery Tasks - lessons learned
Anonymous
https://pypi.org/project/django-urlcrypt/ @JimmySan i discovered this,Thanks
Anonymous
Anonymous
its POST, the api only works for POST method
Anonymous
Rasta
Rasta
Rasta
Anonymous
no, I can't, and you better forget about that idea
Anonymous
you'll get caught easily and that's illegal
Rasta
Anonymous
dude... you show them your data to get a phone number
Anonymous
it's like going to a shop, steal a bag of chips and live your passport there
Patola
live? leave
Rasta
Rasta
But we can hide a script nor ???
Anonymous
don't you understand? you are stealing from them
Anonymous
and the are monitoring where all mobile data are send to
Anonymous
even if you find a way you would give yourself when you'll try to use those mobile data
Anonymous
just forget, spend your time for something more useful
Rasta
Thanks
Combot
Ęl shãdøws (0) has increased reputation of Roger (1)
N S
Hey guys i need your help how to i add a search feature for a foreign key in a modelform
N S
Hey guys i have a doubt how do i add a search feature in a foreign key in a modelform
Anonymous
Anonymous
Anonymous
and use filter or get
N S
N S
Anonymous
I sent Email via Django send_mail, now when I go and check the sender email, the message is in the Sent folder but when I check the receiver there is no Inbox
Anonymous
What's the problem
Rohan
Anonymous
def send_verification_email(recipient_list):
subject = "This is the very first time am trying this."
message = "this is cool"
from_email = settings.EMAIL_HOST_USER
return send_mail(subject,message,from_email,[recipient_list])
Naresh
Which is best editor to run django programs
Naresh
Please reply
Mounikesh
N S
Mirco
Will try it out thanks @iFlare3G
That one uses FBVs but I hope it helps you to clarify your ideas
Then you can implement the same flow with CBVs if you prefer
Mirco
YT video should help you to understand the basic flow
Naresh
pycharm
Yes I am using pycharm but whenever I write new program it is showing previous program output what I must do
Anonymous
Anonymous
Vim editor
Anonymous
if you use Unix/Linux you'll find it usually pre-installed
Anonymous
if not just install it
Anonymous
it's fast and very comfortable to use
Anonymous
but you'll need some time to get used to it if you never used it or seen it before
Anonymous
also... https://github.com/KenJi544/setups
Anonymous
here you'll find my setup
Anonymous
vimrc and some colour schemes to make it look more enjoyable
Anonymous
you'll find them in vim/ folder
Anonymous
to use the plugins you'll need vundle, for that just copy paste this in your terminal
Anonymous
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
Anonymous
then open vim and type
Anonymous
:PluginInstall