Retrieve data from database by taking user input data.

2019-02-01 Thread Surajeet Das
I have been trying to write a query to retrieve data from database by 
taking input from user . But the problem I am facing is after the input is 
given , the page does not get refreshed to another page, rather it 
refreshes to the same page again. Help me on this.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/0823c983-a3f2-4691-abe9-9edd5c7e1006%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Image Upload in admin panel

2019-02-14 Thread Surajeet Das
How do I upload images from admin panel and retrieve from a html page ?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6f4b3bcd-fdb8-4c25-8c89-e0e18f9c6da9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


About query strings in urls

2019-05-04 Thread Surajeet Das
I am actually developing an android app which will fetch data using an api 
.  I am trying to pass multiple parameters in the url using query strings, 
but I am not able concatenate those parameters in the url. 
eg: U/userapi/?email=abc&pass=bcd
I trying to achieve the above example.
How do I take email and password parameter together in the url ?
Help me out on that.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/00b0c885-478b-4de0-befb-9d350dc67640%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Posting data from templates to views.py without using forms.

2019-01-01 Thread Surajeet Das
Well , I want to post data from templates to views.py by clicking a button 
without using forms. Basically the button should not be of type submit 
because I don't want the page to be refreshed .I want to view the data from 
database after the query in the same page. 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9c195b3e-ab87-4a5a-a82d-ed8c5885477b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Setting up environment variable

2019-01-02 Thread Surajeet Das
Well , I am really stuck on this setting of environment variable 
:'DJANGO_SETTINGS_MODULE' . When I run my project in pycharm , an error is 
raised showing that the environment variable isn't yet set . So , anyone 
please help me out on this. In which python file do I set this variable and 
how do I configure it properly .

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/25d2f9b5-d240-4b6e-a2f2-1905f5e3cb01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.