I've just started out with Django-oscar, and I do think it will be an 
amazing framework to work with, as soon as I figure out why it is not 
behaving as expected 😛

So fare, I have followed the tutorial 
<https://django-oscar.readthedocs.io/en/2.0.0/internals/getting_started.html> 
to get started. But, I can't seem to get the part right, where I can 
customize the layout.

As written in the tutorial, I have setup the locations for my templates.

location = lambda x: os.path.join(os.path.dirname(os.path.realpath(__file__)), 
'..', x)
TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [
            location('templates'),
        ],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',

                'oscar.apps.search.context_processors.search_form',
                'oscar.apps.checkout.context_processors.checkout',
                
'oscar.apps.customer.notifications.context_processors.notifications',
                'oscar.core.context_processors.metadata',
            ],
        },
    },
]


and made a folder inside the application (simular to other Django 
projects), where I have put in the base.html file. But, no mather what I 
change inside the .html file, it has no effect on the project. So, I guess 
it is not detecting the Base.html file (or any other file in the template 
folder).
I might be missing something (even though I have followed the tutorial very 
carefully). But, I can't seem to figure out what I am doing wrong. Anyone 
who has some good knowledge on setting it up, so that I would be able to 
start making changes to the layout?

-- 
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/db9b1612-bf26-4b34-bcbb-9c59b70ae0ae%40googlegroups.com.

Reply via email to