0
votes
0answers
13 views

Formatting A ManyToManyField in to boxes with Django

I am having trouble with formatting. Here's what my code looks like right now: As you can see I have a product field and a price field for each one of those products. How can I get it so that the ...
0
votes
0answers
25 views

flask: how to get a POST endpoint to redirect correctly

Have a somewhat complicated endpoint in Flask that is currently deployed to a server: @app.route('/whatever', methods=['GET', 'POST']) def somefunct: if request.method = 'POST': << ...
0
votes
0answers
9 views

Jinja2 not rendering quotes or amp in javascript/html; safe filter not solving

First post; I will try to keep this short and sweet. I am trying to render an edit form that detects and populates input fields if values already exist for those fields. I'm using flask with jinja2 ...
2
votes
1answer
23 views

Getting HTML to linebreak in django admin's display

I have this as my django display The code for doing this is: class PurchaseOrder(models.Model): product = models.ManyToManyField('Product', null =True) def get_products(self): ...
0
votes
1answer
27 views

Pass Variable to Django Admin Form

I have an add form for CalibrationCertificates in my django admin site. If I link to it from a non-admin template, Instrument_Detail.html, is it possible to pass context information as a default value ...
0
votes
2answers
36 views

Send only specific value to server in Django

I have a html code like this: {% for i, j, k in full_name %} {{ i }} {{ j }} <input type="text" name="follow_id" value="{{ k }}" /> <input type="submit" value="Follow"><br ...
1
vote
1answer
21 views

How to send HTML format email with emebbed images(not attachment ) using Outlook 2010(no smtp) and python

Just as shown below, currently I have already implemented sending HTML format email using Outlook 2010 and python def send_mail_via_com(self): o = win32com.client.Dispatch("Outlook.Application") ...
0
votes
1answer
38 views

Pandas Dataframes to_html: Highlighting table rows

I'm creating tables using the pandas to_html function, and I'd like to be able to highlight the bottom row of the outputted table, which is of variable length. I don't have any real experience of html ...
0
votes
0answers
31 views

python CGI arduino serial

I have the following python code #!c:\Python27\python.exe import serial import time ser = serial.Serial('COM27', 9600, timeout=0) while 1: line = ser.readline() #print line print ...
0
votes
0answers
23 views

Python and HTML image maps

I'm developing program which will generate scatterplots (about 10, usually) of a potentially large amount of points (can range from a hundred to a thousand, or more). What I would like to do is to ...
0
votes
0answers
12 views

Can WeasyPrint fit to Paper Size Automatically

I used to work for an organization that used Prince XML to generate PDF's of HTML documents. That organization has since folded, and I no longer have access to that Prince license. Since I don't ...
0
votes
2answers
43 views

experiencing difficulty parsing a web page

I had downloaded a web page and saved it in the html format. I wanted to parse and obtain the values of "fullname", "memberHeadline", "numberOfConnections", etc. I tried using BeautifulSoup in Python, ...
1
vote
1answer
20 views

How can I change the option value in the td by beautiful

With this code: def getTD_byText1(text): soup = BeautifulSoup(open(r"D:\testData\test.htm")) div_=soup.find('div',attrs={'id':'CONTROL_VideoAdapter_MultiSelect'}) for input in ...
0
votes
0answers
45 views

Checkbox does not posts values upon styling

Well, I used this link to style the checkboxes. Now, when I try to get the values of those checked boxes, I get NULL. But, when I doesn't use that library, I get the expected outputed. Any thoughts ...
0
votes
0answers
17 views

Embed content from a different server

I have a landing page (mainly CSS and HTML) that I want to add content to. The issue is that the server that deploys the page is outdated and I'd rather run my content from another server. The content ...

1 2 3 4 5 144
15 30 50 per page