Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2023-03-12 Thread Amar Zamoum
I just had the same problem, and i realized that i had the templates file in the wrong "mysite" folder. It is easy to confuse the two, so for whoever has the same problem, just check where exactly you have put the "template/admin" folders, because in the tutorial it says to put inside the

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2016-04-25 Thread Luis Zárate
Sory for not answer before, but I think I could help. First you need to know how django find the templates, so take a look template loaders https://docs.djangoproject.com/en/1.9/ref/templates/api/#django.template.loaders.filesystem.Loader There are two default loaders (filesystem and app )

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2016-04-22 Thread woodz
Aloha Andreas Ka, have you been able to get this to work? I am currently going through the version 1.9 and facing the same issue. Is the suggestion of Marc Moncrief * a way to go? Did you go for your own solution and would you mind to share?*Thanks a lot, woodz On Sunday, November 16, 2014 at

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2015-03-12 Thread fernando . lescano
Try this: mysite# tree . ├── db.sqlite3 ├── manage.py ├── mysite │ ├── __init__.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py ├── polls ├── admin.py ├── __init__.py ├── migrations │ ├── 0001_initial.py │ └── __init__.py ├── models.py ├── tests.py

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2015-03-10 Thread Collin Anderson
Hi, To be clear, you should have this setting: TEMPLATE_DIRS = [os.path.join(BASE_DIR, 'templates')] and in your mysite/templates/admin/base_site.html you should have something like: {% block branding %} Polls Administration {% endblock %} Does that all look right? Thanks, Collin On

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2015-03-08 Thread Bryan Arguello
Have you solved this problem, Andreas? I am having the same issue and have done everything that the tutorial described as well as everything that people on this thread have suggested. On Sunday, November 16, 2014 at 12:15:59 PM UTC-6, Andreas Ka wrote: > > I am working through >

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2015-02-16 Thread Djarum Tujuhenam
I am using Debian 7 and Python 2.7, Django version 1.7 Reading the Tutorial on the exactly same page : https://docs.djangoproject.com/en/1.7/intro/tutorial02/ The result is our admin template completely ignored. -- You received this message because you are subscribed to the Google Groups

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2015-02-12 Thread Marc Moncrief
I've been going through the tutorial and had the same problem. The docs say "Create a templates directory in your project directory. " I don't know if this will apply to you, but I thought that meant to put it in the poll directory. They mean to put it in the mysite directory. I made that

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2014-11-25 Thread donarb
On Tuesday, November 25, 2014 5:33:02 AM UTC-8, Collin Anderson wrote: > > Hi, > > Wow. Everything you've shown looks right. > > Here's something to try: replace base_site.html with a completely empty > file. That should cause the admin page to be completely blank. > > If that works, could you

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2014-11-25 Thread Collin Anderson
Hi, Wow. Everything you've shown looks right. Here's something to try: replace base_site.html with a completely empty file. That should cause the admin page to be completely blank. If that works, could you post a snippet of where you're changing the template? Are you changing the and

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2014-11-22 Thread Andreas Ka
Thanks for your help. I really think there is something wrong with that part of the tutorial. A small thing, but wrong. > Check your settings file, > are there two TEMPLATE_DIRS variables defined? Nope. This is where I placed it: ... import os BASE_DIR =

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2014-11-21 Thread donarb
On Friday, November 21, 2014 10:59:19 AM UTC-8, Andreas Ka wrote: > > I don't know. > How to test that? > > > > The things I have done were these: > > https://docs.djangoproject.com/en/1.7/intro/tutorial02/#customizing-your-project-s-templates > > mkdir templates > mkdir templates/admin > cp >

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2014-11-21 Thread Andreas Ka
I don't know. How to test that? The things I have done were these: https://docs.djangoproject.com/en/1.7/intro/tutorial02/#customizing-your-project-s-templates mkdir templates mkdir templates/admin cp /usr/local/lib/python2.7/dist-packages/django/contrib/admin/templates/admin/base_site.html

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2014-11-20 Thread Collin Anderson
Hi, Do other templates work in that folder? Collin On Monday, November 17, 2014 4:12:27 PM UTC-5, Andreas Ka wrote: > > > > Show your view code > The tutorial did not create any view.py for the admin pages > > > > See >

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2014-11-17 Thread Andreas Ka
> Show your view code The tutorial did not create any view.py for the admin pages See https://docs.djangoproject.com/en/1.7/intro/tutorial02/#customize-the-admin-look-and-feel We copied from the Django source files these two into: /mysite/templates/admin/base_site.html and

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2014-11-17 Thread Artie
Are you sure about correct path to your templates in views? Show your view code понедельник, 17 ноября 2014 г., 5:04:53 UTC+2 пользователь Andreas Ka написал: > > thanks for your answer. > > yes, I just tried that. Same result. > By now, I have understood much more about the templates. > But

Re: my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2014-11-16 Thread Andreas Ka
thanks for your answer. yes, I just tried that. Same result. By now, I have understood much more about the templates. But still, for the admin pages mysite/templates/admin/base_site.html doesn't work yet. I have actually found more errors in the tutorial:

my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2014-11-16 Thread RLF_UNIQUE
Obviously you've restarted the server and refreshed the page in such a way to ensure it's not a caching issue ? -- 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

my mysite/templates/admin/base_site.html is ignored (tutorial unclear?)

2014-11-16 Thread Andreas Ka
I am working through https://docs.djangoproject.com/en/1.7/intro/tutorial02 so far all went fine - but now *templates changes just don't work.* I think there must be a flaw in that tutorial, something missing, or something different in django 1.7.1 ?