saleor error NoReverseMatch at /en/

49 views
Skip to first unread message

Tim Vogt (Tim Vogt)

unread,
Sep 4, 2018, 5:28:45 AM9/4/18
to Django users
I have made saleor local

after restart I get this error

Tried to change the “ “ into ‘ ‘ bout before it worked.

Any tips how to solve this?

Tim

NoReverseMatch at /en/

Reverse for ' manifest ' not found. ' manifest ' is not a valid view function or pattern name.
Request Method:GET
Request URL:http://localhost:8000/en/
Django Version:2.0.8
Exception Type:NoReverseMatch
Exception Value:
Reverse for ' manifest ' not found. ' manifest ' is not a valid view function or pattern name.
Exception Location:/Users/timvogt/virtualenvs/saleor/lib/python3.6/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 634
Python Executable:/Users/timvogt/virtualenvs/saleor/bin/python3
Python Version:3.6.5
Python Path:
['/Users/timvogt/Software_projects/saleor',
 '/Users/timvogt/virtualenvs/saleor/lib/python36.zip',
 '/Users/timvogt/virtualenvs/saleor/lib/python3.6',
 '/Users/timvogt/virtualenvs/saleor/lib/python3.6/lib-dynload',
 '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6',
 '/Users/timvogt/virtualenvs/saleor/lib/python3.6/site-packages',
 '/Users/timvogt/Software_projects/saleor']
Server time:Tue, 4 Sep 2018 04:26:23 -0500

Error during template rendering

In template /Users/timvogt/Software_projects/saleor/templates/base.html, error at line 24

Reverse for ' manifest ' not found. ' manifest ' is not a valid view function or pattern name.

14 <meta name="apple-mobile-web-app-status-bar-style" content="black">
15 <meta name="apple-mobile-web-app-title" content="{{ site.name }}">
16 <meta name="og:type" content="website"> {% get_available_languages as LANGUAGES %} {% for lang_code, language_name in LANGUAGES %}
17 <link rel="alternate" hreflang="{{ lang_code }}" href="{% translate_url url=request.path lang_code=lang_code %}" /> {% endfor %} {% endblock meta %} {% include 'favicon.html' %} {% render_bundle 'storefront' 'css' attrs='async' %} {% block stylesheet %}{% endblock stylesheet %} {% block meta_tags %}
18 <meta property="og:title" content="{{ site.settings.translated.header_text }}">
19 <meta property="og:description" content="{{ site.settings.translated.description }}">
20 <meta name="description" content="{{ site.settings.translated.description }}">
21 <meta property="og:url" content="{{ request.build_absolute_uri }}">
22 <meta property="og:image" content="{% static " images/block1.png " %}"> {% endblock meta_tags %}
23
24 <link rel='manifest' href="{% url ' manifest ' %}" />
25
26 <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
27 <!--[if lt IE 9]>
28 <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
29 <![endif]-->
30</head>
31
32<body>
33 {% block header %}
34 <header class="navbar" role="navigation">

Julio Biason

unread,
Sep 4, 2018, 8:16:58 AM9/4/18
to django...@googlegroups.com
Hey Tim,

Are you sure your view is defined with spaces in the urls.py? Shouldn't it be {% url 'manifest' %} instead, with no spaces around the name?

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/F33E62F9-637C-4EB0-A1E0-CA36735500DF%40gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
Julio Biason, Sofware Engineer
AZION  |  Deliver. Accelerate. Protect.
Office: +55 51 3083 8101  |  Mobile: +55 51 99907 0554

Ravi Kiran Katukam

unread,
Sep 4, 2018, 9:14:39 AM9/4/18
to django...@googlegroups.com
any one developed  kivy  app for enterprise needs along with django web
need help

RONAK JAIN

unread,
Sep 4, 2018, 9:41:39 AM9/4/18
to django...@googlegroups.com
I think should be there cot's issues look like that you should right there:

<link rel='manifest' href="{% url 'manifest' %}" />


Thanks
Ronak Jain

To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
--
Julio Biason, Sofware Engineer
AZION  |  Deliver. Accelerate. Protect.
Office: +55 51 3083 8101  |  Mobile: +55 51 99907 0554

--
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 django-users...@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

--
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 django-users...@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Kasper Laudrup

unread,
Sep 4, 2018, 1:43:27 PM9/4/18
to django...@googlegroups.com
Hi Ravi,

On 04/09/2018 14.42, Ravi Kiran Katukam wrote:
> any one developed kivy app for enterprise needs along with django web
> need help
>

There might be someone here who has experience with that, but why not
ask for help in the appropriate mailing list. This seems to be the one:

https://groups.google.com/forum/#!forum/kivy-users

I cannot see how Kivy is related to Django, apart from being written in
Python as well.

Also, please don't highjack unrelated threads.

Kind regards,

Kasper Laudrup

TimT Vogt

unread,
Sep 4, 2018, 3:26:36 PM9/4/18
to django...@googlegroups.com
All good now!
Thanx!

Verstuurd vanaf mijn iPhone
Reply all
Reply to author
Forward
0 new messages