It would help if I wasn't using `pattern_name` wrongly. For anyone else who
does something similarly silly, `pattern_name` would be the actual pattern
name, not the name of the url you want to redirect to. In this case, I want
to use `url` parameter with `reverse`.
--
You received this message
It would help if I wasn't using `pattern_name` wrongly. For anyone else who
does something similarly sill, `pattern_name` would be the actual pattern
name, not the name of the url you want to redirect to. In this case, I want
to use `url` with `reverse`.
--
You received this message because yo
url(r'^change-service/$', RedirectView.as_view(pattern_name='new-service',
permanent=False))
url(r'^new-service/$', 'service', name='service'),
Hitting this route gives a 410 error. I've never used the RedirectView so
perhaps I haven't implemented something correctly?
Thanks
--
You received
Can you post the migration file? It looks like one of the fields you're
parsing for date doesn't like the data it's trying to parse (it's expecting
a string type, but that may not be what it's getting),
--
You received this message because you are subscribed to the Google Groups
"Django users"
I submitted this ticket
recently: https://code.djangoproject.com/ticket/24820
The content of it is as follows:
While removing models in one of my migrations, I was prompted by Django to
> input yes/no. For development, this is no problem. For automatic
> deployments it is.
>
> I want to know
5 matches
Mail list logo