I fixed it. I needed to remove --noreload
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/9bDXiW-7insJ.
To post to this group, send email to django-users@go
There should be closing brackets on the ends of the 2
render_to_response statements.
On Aug 2, 1:55 pm, lmcadory wrote:
> Here is my code, minus all the import statements.
>
> file = 'someFile.txt'
> infile = open(file, 'r')
>
> def test_results(
Display the results.
On Aug 2, 1:37 pm, bruno desthuilliers
wrote:
> On 2 août, 19:22, lmcadory wrote:
>
> > I'm having this problem, my web design knowledge is limited and I'm
> > having a hard time searching for the solution (if there is one)
>
> > The
Here is my code, minus all the import statements.
file = 'someFile.txt'
infile = open(file, 'r')
def test_results(request):
expectedResults = 10
lines = infile.readlines()
lineCount = len(lines)
if lineCount == expectedResults:
p = 'Passed'
return r
I'm having this problem, my web design knowledge is limited and I'm
having a hard time searching for the solution (if there is one)
The problem is this:
I have a view that counts the number of lines in a file. It then
pushes that result to an html page. What I want it to do is when that
line coun
5 matches
Mail list logo