Re: DEBUG=False but still "Starting development server" ?!

2018-08-15 Thread Richard Belew
following https://docs.djangoproject.com/en/2.1/ref/settings/#debug i believe changing `settings.DEBUG` to `False` should make it a production server? On Wednesday, August 15, 2018 at 11:39:54 AM UTC-7, ireoluwa fakeye wrote: > > I'm confused on what the problem is .as long as it's a

Re: DEBUG=False but still "Starting development server" ?!

2018-08-15 Thread Richard Belew
yup, restarted apache. still development(: On Wednesday, August 15, 2018 at 11:26:03 AM UTC-7, ireoluwa fakeye wrote: > > You have to restart the application or restart the server as the case > may be > > > -- You received this message because you are subscribed to the Google Groups

DEBUG=False but still "Starting development server" ?!

2018-08-15 Thread Richard Belew
i've set DEBUG=False, and also echo its value at the end of my settings.py file to confirm it's been set correctly. Still I get: Django version 2.1, using settings 'showCrime.settings' > Starting development server at ... > why would that be?! -- You received this message because you are

Re: template {% url } tag syntax

2017-02-26 Thread Richard Belew
i should also probably say that the url spec is in the djggApp's specific urls.py file, included in the project's urls.py my primary reference is the url tag reference doc but i must not be composing its arguments correctly?

template {% url } tag syntax

2017-02-26 Thread Richard Belew
i have a hardwired URL in my template: /djggApp/guest/{{ guest.guestId }}/update/ that successfully matches against this url pattern: url(r'^guest/(\d+)/update$', login_required(views.GuestUpdate.as_view()), name='updateGuest'), now i am trying to replace the template code with a more

Re: "TemplateDoesNotExist at /"

2017-02-25 Thread Richard Belew
R) > > 2017-02-25 23:05 GMT+01:00 Richard Belew <rikb...@gmail.com >: > > > another possibly relevant bit: the Template-loader postmortem shows: > > > >> Django tried loading these templates, in this order: > >> > >> Using engine django: &

Re: "TemplateDoesNotExist at /"

2017-02-25 Thread Richard Belew
another possibly relevant bit: the Template-loader postmortem shows: Django tried loading these templates, in this order: > > Using engine django: > >- django.template.loaders.filesystem.Loader: > >

"TemplateDoesNotExist at /"

2017-02-25 Thread Richard Belew
"TemplateDoesNotExist at /" (full trace log at http://dpaste.com/3XZ8H3C) this must be near the top of django newby issues, but i'm stumped on the simplest example i can generate: i've used the `settings.TEMPLATES.DIRS` variable to specify a shared templates directory (also to simplify things),