Doug,
Many thanks for your response. I'm leaning towards your 3rd option,
initially using subdomains rather than full domain names for each
business.
Best wishes,
Nick
On Mar 27, 10:48 am, Doug Ballance wrote:
> There are a few choices that I'm familiar with.
>
> 1) Create a separate project/s
Hi all,
I'm wanting the same code to run many fairly simple, near-identical
websites. That's the bottom line.
I've had a look through the group archives and found a couple of
hints.
My planned application serves small grocery businesses taking orders
and making weekly home deliveries for their c
Thanks Shaun,
I renamed the "now" variable as "dt" but it didn't help. I've also
tried your 1-tuple idea-- no change.
Note that the offending line isn't the html assignment but:
now = datetime.datetime.now()
On Feb 10, 6:22 am, Shawn Milochik wrote:
> Perhaps replace the bare 'now' with a tupl
Hi all,
This must be very simple, but I'm stumped.
Here's the code for views.py
from django.http import HttpResponse
import datetime
def current_datetime(request):
now = datetime.datetime.now()
html = "It is now %s." % now
return HttpResponse(html)
The offending line is:
now = date
Sam, thanks for your help. Problem solved, partly with your advice. I
had two versions of Python on the same machine, and they were
interacting oddly. The 2.6 was being used when I type "python" at the
command line, but the 3.1 was being invoked for .py filetypes at the
CMD prompt.
Best wishes,
N
Hi,
Trying to get started with Django on Windows XP. Trying to create a
project. Fails with:
ImportError: No module named django.core
Have grabbed djtrunk from svn. The same error, whether I have run
setup.py or not (originally I didn't, as per the svn install
instructions.)
Python: 2.6
c:\pyth
Hi all,
I'm a CS-graduate, but out of the game for a while, and a beginner at
web programming. I've written database apps to generate static HTML
pages. I could do with some pointers.
I have a working site, written by someone else, to maintain and
develop:
www.behandlerlisten.dk
It's a site fo
7 matches
Mail list logo