hello Samir,

I checked it out, and I have it:

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [TEMPLATE_DIR,],
        'OPTIONS': {
            'loaders': [
                'django.template.loaders.filesystem.Loader',
                'django.template.loaders.app_directories.Loader',
            ],
            'context_processors': [
                'django.contrib.auth.context_processors.auth',
                'django.template.context_processors.request',
                'django.template.context_processors.debug',
                'django.template.context_processors.i18n',

                'django.template.context_processors.media',
                'django.template.context_processors.static',
                'django.contrib.messages.context_processors.messages',

                # Oscar specific
                'oscar.apps.search.context_processors.search_form',
                
'oscar.apps.customer.notifications.context_processors.notifications',
                'oscar.apps.checkout.context_processors.checkout',
                'oscar.core.context_processors.metadata',
            ],
            'debug': DEBUG,
        }
    }
]


In fact {{ language_neutral_url_path }} is empty, I printed this and I only 
get a slash ( / )
what could this be?


quarta-feira, 22 de Janeiro de 2020 às 05:01:49 UTC, Samir Shah escreveu:
>
> `{{ language_neutral_url_path }}` should be doing this. If that hidden 
> input is empty, it probably means that you're missing 
> `oscar.core.context_processors.metadata` from your template context 
> processors setting.
>

-- 
https://github.com/django-oscar/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/django_oscar
--- 
You received this message because you are subscribed to the Google Groups 
"django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-oscar+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/django-oscar/2be3dab2-dd0d-4a28-b6c6-c8cd26423cd7%40googlegroups.com.

Reply via email to