Thank you very much!
I'm Sorry, i'm missing write comments,
I want to do download have been checboxd file from html, then i write to
views.py this code, so i don't know how do write !
Please help me!
this is my right code:
def export_selected_data(request):
#if request.method == 'POST':
#
Thank you very much!
Sory, i'm missing write comments,
I want to do download have been checboxd file from html, then i write to
views.py this code, so i don't know how do write !
Please help me!
this is my right code:
def export_selected_data(request):
#if request.method == 'POST':
#_
Hello,
You should start with the basics:
https://docs.djangoproject.com/en/1.6/topics/http/file-uploads/
You are using request.FILES and that is for file upload, no file download.
To upload a file to the server, you must have a in
your template, which you don't have.
To download files from th
On Monday, March 31, 2014 5:37:05 PM UTC-4:30, willyhakim wrote:
>
> when creating your models, how do you know which field to assign the
> ManyToManyField ?
>
from django.db import models
class Student(models.Model):
name = models.TextField()
class Course(models.Model):
name = m
You must think on what is the output HTML you need to generate. Depending
on that, you may be able to figure where to put the {% block content %}
tags. What is the output HTML you expect?
On Thursday, March 27, 2014 9:18:47 AM UTC-4:30, Fred DJar wrote:
>
> Hello,
> I am a beginner in python an
It depends on what you want to do. If you want to override/replace the
form in base.html, then place the block tag around the form, like so (in
base.html):
{% block content %}
...
{% endblock %}
Any template extending from base.html which defines a "content" block
will override
So sorry, I should have been clear. I meant when you are assigning a field
ManyToManyField (through) properties
--
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
On 1/04/2014 9:07 AM, willyhakim wrote:
when creating your models, how do you know which field to assign the
ManyToManyField ?
https://docs.djangoproject.com/en/1.6/topics/db/models/#many-to-many-relationships
--
You received this message because you are subscribed to the Google
Groups "Djan
HELP PLEASE
--
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@googlegr
when creating your models, how do you know which field to assign the
ManyToManyField ?
--
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...@
Hi Aaron,
this is the url:
http://this-is-the-irish-aeneas-bucket.s3.amazonaws.com/XXXASCIINAMEXXX/5/2014-03-10_08%3A37%3A39.274998-d3421964017734f96198c74d853eb2e7?Signature=2hR%2Fy0iXqimJ5e1umXX2xY1FqjU%3D&Expires=1396003040&AWSAccessKeyId=XX
I replaced some byte with X fo
I have two html pages with different json context ,I have templates for
both pages which contains a script which on loading the pages individually
loads the context into the list.Now i want to develop a toggle button which
onclicking changes the context ,is there any way i can do this with ajax
12 matches
Mail list logo