Also, if you haven't already, make sure your {% url %} template tags are
properly quoted (unless they're variables). Django 1.5 no longer accepts
named urls that are not quoted; they will be treated as variables if not
quoted (and if they're not actually variables, then you'll get an error
about having an empty string for a named url, which is not allowed).
So this:
{% url myapp_home %}
would become this:
{% url "myapp_home" %}
Just a "gotcha" to point out in case you haven't taken care of it already.
--
Joey "JoeLinux" Espinosa*
*
<http://therealjoelinux.blogspot.com>
<http://twitter.com/therealjoelinux><http://about.me/joelinux>
On Mon, Mar 4, 2013 at 10:52 AM, Brad Pitcher <[email protected]> wrote:
> It should be safe, just test things out. Also, if you have DEBUG=False you
> must also include an ALLOWED_HOSTS array, which became required in Django
> 1.4.4:
>
> https://www.djangoproject.com/weblog/2013/feb/19/security/#s-issue-host-header-poisoning
>
> It should contain a list of domains used to access the site.
>
>
> On Sun, Mar 3, 2013 at 6:29 PM, Randa Hisham <[email protected]>wrote:
>
>> Iam now working in aproject using django 1.4.2 could I upgrade to django
>> 1.5?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/django-users?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.