changing row color in django admin model

2017-09-12 Thread vishnu bhand
hello ,How should i change entire row color base on some attribute value in 
admin model ?

-- 
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/799631f7-da52-4960-9fe6-ed393f2822ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: zip file

2017-09-07 Thread vishnu bhand
How should i download zip from web into my django-project?

On Thursday, September 7, 2017 at 1:35:04 PM UTC+5:30, Andréas Kühne wrote:
>
> Hi,
>
> If you only want to save the content "as is" to a model - just use the 
> FileField on the model. See here:
>
> https://docs.djangoproject.com/en/1.11/ref/models/fields/#filefield
>
> You can then also use different types of storage backends to save the file 
> to either the server itself or to the cloud (Amazon S3 for example). See:
>
> https://django-storages.readthedocs.io/en/latest/
>
> If you want to unzip the contents and save each file seperately, that is 
> also possible - but will require more work from your part. You can easily 
> unzip a file with the zipfile module:
> https://stackoverflow.com/questions/345/unzipping-files-in-python
>
> Hope some of that helps,
>
> Regards,
>
> Andréas
>
> 2017-09-07 9:57 GMT+02:00 vishnu bhand <bhand...@gmail.com >:
>
>> hello ,  i want to download zip file from web into my django-project and 
>> save all it's file content to model ...So how should i go?
>>
>> -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to django...@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/5e9c632f-4b38-43be-900f-0f5b65188f49%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/5e9c632f-4b38-43be-900f-0f5b65188f49%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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/6507cb33-30c0-403b-8115-cb0b3126ca1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: zip file

2017-09-07 Thread vishnu bhand
how should i download zip from web?

-- 
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/bf8ff53c-cad9-47ed-91a9-732393d4c2af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


zip file

2017-09-07 Thread vishnu bhand
hello ,  i want to download zip file from web into my django-project and 
save all it's file content to model ...So how should i go?

-- 
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/5e9c632f-4b38-43be-900f-0f5b65188f49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


zip file

2017-09-07 Thread vishnu bhand
hello ,

-- 
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/607f9020-f848-425f-8281-4a456244c2bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


send email using django

2017-08-30 Thread vishnu bhand
I'm trying to send email using django ,but i giving some authentiaction 
problem to gmail account ...

-- 
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/799a2add-4ee3-44e8-9668-dc8df7b3dc14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


change button value

2017-08-29 Thread vishnu bhand
How to change Save button value to Request for a perticular model in django 
admin.

-- 
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/60c6e09f-accc-4e38-b07e-fcd45264fa64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.