TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates','DIRS': [#os.path.join(BASE_DIR,'yourappsfolder/catalogue/templates'),location('templates'), # templates directory of the project #added#os.path.join(BASE_DIR, 'templates'),#OSCAR_MAIN_TEMPLATE_DIR,#os.path.join(BASE_DIR, 'yourappsfolder/kitchen/templates'),],'APP_DIRS': True,'OPTIONS': {'context_processors': ['django.template.context_processors.debug','django.template.context_processors.request','django.contrib.auth.context_processors.auth','django.template.context_processors.i18n','django.contrib.messages.context_processors.messages','oscar.apps.search.context_processors.search_form','oscar.apps.promotions.context_processors.promotions','oscar.apps.checkout.context_processors.checkout','oscar.apps.customer.notifications.context_processors.notifications','oscar.core.context_processors.metadata',],},},]
I already have bootstrap 4 templates that I want to use for the front end. What's the best approach for migrating the templates ?
--
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...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-oscar.
To view this discussion on the web, visit https://groups.google.com/d/msgid/django-oscar/6977df1a-7050-4d20-a496-c51d6494a16c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
|
|
Sender notified by Mailtrack 15/04/19, 11:09:10 |
--
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...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-oscar.
To view this discussion on the web, visit https://groups.google.com/d/msgid/django-oscar/daf37193-407c-485d-b90c-48cf9d08f235%40googlegroups.com.
The folder which you are copying will contain base.html, now you can modify this if you want, no need to extend anything.Regards,
Priyank Soni
![]()
Sender notified by
Mailtrack 15/04/19, 11:09:10
On Mon, Apr 15, 2019 at 11:02 AM Fendy Pierre <fendy...@gmail.com> wrote:
Thank you for the reply. Using this method, will I need to extend the base.html from oscar?--
On Sunday, April 14, 2019 at 7:11:57 PM UTC-5, Fendy Pierre wrote:I already have bootstrap 4 templates that I want to use for the front end. What's the best approach for migrating the templates ?
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...@googlegroups.com.
|
|
Sender notified by Mailtrack 15/04/19, 11:37:37 |
To unsubscribe from this group and stop receiving emails from it, send an email to django-oscar...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-oscar.
To view this discussion on the web, visit https://groups.google.com/d/msgid/django-oscar/30336e8c-c11f-4e4c-b766-c987e7c2a6a3%40googlegroups.com.