Re: Django Admin CSS Not Working

2018-11-26 Thread Manish Kumar
once clear the cache and load admin page. On Mon, Nov 26, 2018 at 3:29 PM Kayode Oladipo wrote: > So, after about 3 months of my django admin CSS suddenly crashing and > burning; it shows that the CSS is loaded in terminal. GET base.css 200 blah > blah. However, it doesn't apply to

Django Admin CSS Not Working

2018-11-26 Thread Kayode Oladipo
So, after about 3 months of my django admin CSS suddenly crashing and burning; it shows that the CSS is loaded in terminal. GET base.css 200 blah blah. However, it doesn't apply to the page when it is run in the browser. A little poking with the Style Editor in Firefox and Opera, and voila

Re: Django Admin CSS Not loading

2018-07-11 Thread ADEWALE ADISA
UC browser doesn't render some website very well. Though uc browser is fast and save bandwidth, it's like it doesn't 100% compatible with css and js rules. So this not django issue On Jul 11, 2018 3:07 PM, "Kayode Oladipo" wrote: > I have this problem specific to UC Browser; > App related CSS

Django Admin CSS Not loading

2018-07-11 Thread Kayode Oladipo
I have this problem specific to UC Browser; App related CSS are being loaded but the ones for Django admin panel are not. They load well in Internet Explorer but UC is my preferred browser. Anyone know how to fix this? Thanks for your help. Cheers from Nigeria. -- You received this message

my django dsahbord css link not working

2018-04-03 Thread arvind yadav
my setting.py file code please help me """ Django settings for mytestmoody project. Generated by 'django-admin startproject' using Django 2.0.3. For more

Re: django admin css not loading in localhost

2018-02-22 Thread Mike Dewhirst
On 23/02/2018 11:49 AM, anurag bhadauriya wrote: i am using django-1.11.6. whenever i open my admin panel and login to it then it looks like the simple html file. no any css files are loading .The interface i am seeing is totally different than that of the tutorials using which i am

Re: django admin css not loading in localhost

2018-02-22 Thread Costja Covtushenko
Hi, Can you provide html code of that page here? Regards, Constantine C. > On Feb 22, 2018, at 7:49 PM, anurag bhadauriya > wrote: > > i am using django-1.11.6. whenever i open my admin panel and login to it then > it looks like the simple html file. no any css

django admin css not loading in localhost

2018-02-22 Thread anurag bhadauriya
i am using django-1.11.6. whenever i open my admin panel and login to it then it looks like the simple html file. no any css files are loading .The interface i am seeing is totally different than that of the tutorials using which i am learning.please give me the stepwise solution -- You

Re: Django HTML5 & CSS validation - Best Practice?

2014-06-06 Thread Bob Cochran
On 06/05/2014 08:33 PM, 77c...@gmail.com wrote: what is the best practice to validate HTML5 and CSS? I use this: http://validator.w3.org/ & http://jigsaw.w3.org/css-validator/ Is there something better? Bob -- You received this message because you are subscribed to the Google Groups "Django

Django HTML5 & CSS validation - Best Practice?

2014-06-05 Thread 77cc33
what is the best practice to validate HTML5 and CSS? is there some crawler who will visit all pages and tests them for HTML5 and CSS valid code? maybe with help of "tidy" or something? -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Django Admin CSS missing

2013-08-20 Thread Glenn Vulkers
And it's working, thanks alot! Op dinsdag 20 augustus 2013 18:35:35 UTC+2 schreef Glenn Vulkers: > > Hello everyone, > > I'm just reading throught djangobook.com where I came to Chapter 6 so > far. It's about The Django Admin. I installed the admin and such > but I notice that the CSS is

Re: Django Admin CSS missing

2013-08-20 Thread Alex Franco
There you have your problem and answer... uncomment these lines: # 'django.middleware.csrf.CsrfViewMiddleware', # 'django.contrib.sites', # 'django.contrib.staticfiles', # 'django.contrib.admin', Voilà! -- @jafrancov On Tuesday, August 20, 2013 11:59:28 AM UTC-5, Glenn Vulkers

Re: Django Admin CSS missing

2013-08-20 Thread Glenn Vulkers
I'm running manage.py runserver. Django version is: 1.5.1 in Settings.py I have this: MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', # 'django.middleware.csrf.CsrfViewMiddleware',

Re: Django Admin CSS missing

2013-08-20 Thread Alex Franco
Are not missing, but if you are following the djangobook you probably commented something in your settings file as you did on chapter 5, review the middleware, staticfiles and templeate loaders lines, the issue is probably there. On Tuesday, August 20, 2013 11:35:35 AM UTC-5, Glenn Vulkers

Re: Django Admin CSS missing

2013-08-20 Thread Bill Freeman
Not enough information. Django works fine with python2.7, so we would need to know, for example, which version of Django, how you installed it, whether you are using manage.py runserver or whether you are running behind Apache or something else, and what exactly you mean by "I installed the admin

Django Admin CSS missing

2013-08-20 Thread Glenn Vulkers
Hello everyone, I'm just reading throught djangobook.com where I came to Chapter 6 so far. It's about The Django Admin. I installed the admin and such but I notice that the CSS is missing. Does anyone know what to do? I'm running Python2.7 Glenn -- You received this message because you are

Re: How to load CSS: Django Template, CSS and image

2011-06-16 Thread Tim Shaffer
Shouldn't you really be putting your js/css in your static directory? Check out the docs for managing static files: https://docs.djangoproject.com/en/1.3/howto/static-files/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this

How to load CSS: Django Template, CSS and image

2011-06-16 Thread yesnik
In this lesson I’ll show you how to make Django load your template containing CSS and image. 1. Let’s create a project ‘girl’: django-admin.py startproject girl 2. In ‘girl’ directory we create 2 new directories: - templates - media 3. Put index.html in ‘templates’ directory. --

RE: Django Template CSS Load Path

2011-01-30 Thread Chris Matthews
ct: Re: Django Template CSS Load Path I still cannot get the css page to load. On Jan 19, 4:02 pm, Matías Iturburu <maturb...@gmail.com> wrote: > On Wed, Jan 19, 2011 at 5:30 PM, Eduardo Cereto Carvalho < > > eduardocer...@gmail.com> wrote: > > You can use MEDIA_URL conf t

Re: Django Template CSS Load Path

2011-01-29 Thread octopusgrabbus
Interestingly, I added TEMPLATE_CONTEXT_PROCESSORS = ( 'django.core.context_processors.request', 'django.core.context_processors.media', ) to my settings.py and got this error. Put 'django.contrib.auth.context_processors.auth' in your TEMPLATE_CONTEXT_PROCESSORS setting in order to use

Re: Django Template CSS Load Path

2011-01-29 Thread octopusgrabbus
I still cannot get the css page to load. On Jan 19, 4:02 pm, Matías Iturburu wrote: > On Wed, Jan 19, 2011 at 5:30 PM, Eduardo Cereto Carvalho < > > eduardocer...@gmail.com> wrote: > > You can use MEDIA_URL conf to get the root path to your media files. > > > > /> > My

Re: Django Template CSS Load Path

2011-01-19 Thread Matías Iturburu
On Wed, Jan 19, 2011 at 5:30 PM, Eduardo Cereto Carvalho < eduardocer...@gmail.com> wrote: > You can use MEDIA_URL conf to get the root path to your media files. > > /> > > the above code is correct, just make sure that you are using the media context processor or returning a RequestContext, not

Re: Django Template CSS Load Path

2011-01-19 Thread Eduardo Cereto Carvalho
You can use MEDIA_URL conf to get the root path to your media files. On Wed, Jan 19, 2011 at 5:55 PM, octopusgrabbus wrote: > I am trying to load a css file in my base.html template > > > > >{% block title %}Test{% endblock %} > > > >

Django Template CSS Load Path

2011-01-19 Thread octopusgrabbus
I am trying to load a css file in my base.html template {% block title %}Test{% endblock %} What kind of path is supposed to go in the href? Is it relative to the document root? Does anyone have an example of loading a css file including the Apache

Re: django admin css problem

2010-12-02 Thread octopusgrabbus
I failed to provide the following information in a similar post, and it slowed down responses. 1) What web server are you using? If it is not the built in development server, please provide the configuration for Django. 2) Check your application's settings.py file and make sure the appropriate

Re: django admin css problem

2010-12-02 Thread ozgur yilmaz
I found the answer. The problem was about the apache (httpd) configuration. When i add the following to httpd config, the problem is solved: AllowOverride None Options None Order allow,deny Allow from all Alias /media/

django admin css problem

2010-12-02 Thread ozgur yilmaz
Hi, Yesterday i moved my site to a linux solution. Everything is going fine, except admin site. When i go to url example.com/admin, the template doesnt work. When i look at the source, i see these: But i dont have any urls or files on example.com/media/css/base.css or

Re: Using Sass with Django makes CSS so much easier to maintain

2009-11-17 Thread Justin Lilly
Not SASS, but in the same vein is http://sandbox.pocoo.org/clevercss/ which has the benefit of being in python. -justin -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To

Re: Using Sass with Django makes CSS so much easier to maintain

2009-11-17 Thread Mykola Lys
Great article Jason! Really cool tools! Thanks a lot! On Nov 16, 6:25 pm, Jason wrote: > I had been eyeing Sass for a while, hoping to get to use it on a > project. When we chose Django instead of Rails for FeedMagnet, I was > bummed that we wouldn't have access to the

Using Sass with Django makes CSS so much easier to maintain

2009-11-16 Thread Jason
I had been eyeing Sass for a while, hoping to get to use it on a project. When we chose Django instead of Rails for FeedMagnet, I was bummed that we wouldn't have access to the Rails Sass gem. Thankfully I found Compass - it let's us generate all our CSS from Sass source files and it works really

Re: Django 1.0.2 + CSS how to?

2009-08-30 Thread adelaide_mike
Thank you Mike Ramirez. [1] makes a difference. I now see the css taking effect. Mike On Aug 30, 8:55 am, Mike Ramirez wrote: > On Saturday 29 August 2009 04:35:11 pm adelaide_mike wrote: > > > > > As a very newbie I am struggling to understand how to use CSS.  I read > >

Re: Django 1.0.2 + CSS how to?

2009-08-29 Thread Mike Ramirez
On Saturday 29 August 2009 04:35:11 pm adelaide_mike wrote: > As a very newbie I am struggling to understand how to use CSS. I read > in > > http://docs.djangoproject.com/en/dev/topics/forms/media/#paths-in-media-def >initions > > that I need to write: > class Media: > css = { >

Django 1.0.2 + CSS how to?

2009-08-29 Thread adelaide_mike
As a very newbie I am struggling to understand how to use CSS. I read in http://docs.djangoproject.com/en/dev/topics/forms/media/#paths-in-media-definitions that I need to write: class Media: css = { 'screen': ('pretty.css',), 'print': ('newspaper.css',) } for

Re: Django, CMS, CSS newbie question

2009-08-13 Thread Matthias Kestenholz
and Django-CMS in afterward? The problem > is with learning Python, HTML and Django, it will take a long time > before I get to know CSS. > Trying to start with Django-CMS (or any comparable software package for that matter) before you know how to work with CSS files inside Django is akin to tryin

Re: Django, CMS, CSS newbie question

2009-08-13 Thread eldonp2
Thanks. I've gone through the book and done the tutorial on djangoproject.com Basically, my qyestion is still not answered - how do I start with a CSS template and bring Django and Django-CMS in afterward? The problem is with learning Python, HTML and Django, it will take a long time before I

Re: Django, CMS, CSS newbie question

2009-08-11 Thread Juan Hernandez
you can start here www.djangobook.com On Tue, Aug 11, 2009 at 10:58 AM, eldonp2 wrote: > I would like to start my own website. I > figured, since I don't know much, that I would start with a CSS > template and work back. How can I use a free template and then > integrate

Django, CMS, CSS newbie question

2009-08-11 Thread eldonp2
Hi, I'm new to programming. I would like to start my own website. I figured, since I don't know much, that I would start with a CSS template and work back. How can I use a free template and then integrate Django-Cms and Django into it? Thanks alot. Eldon

Re: Django and CSS

2009-06-18 Thread Brian Neal
On Jun 18, 2:50 pm, Chris DPS wrote: > Hi, > > I'm new to Django. > I've read the > doc:http://docs.djangoproject.com/en/dev/howto/static-files/?from=olddocs > which is about static files but still do not quite understand what to > call everything and it isn't working > On

Django and CSS

2009-06-18 Thread Chris DPS
Hi, I'm new to Django. I've read the doc: http://docs.djangoproject.com/en/dev/howto/static-files/?from=olddocs which is about static files but still do not quite understand what to call everything and it isn't working On my development machine, I want to use this hack and not deal with other

Re: Django site - CSS doesn't render in Safari/Webkit

2008-12-23 Thread Alfonso
om> wrote: > Hey, > > I'm getting a weird issue in Django with my css and Safari - displays > great in all browsers except for Safari. Happens in two different > django installations on two separate servers so clearly I'm doing > something wrong. CSS files are accessible directly via

Django site - CSS doesn't render in Safari/Webkit

2008-12-23 Thread Alfonso
Hey, I'm getting a weird issue in Django with my css and Safari - displays great in all browsers except for Safari. Happens in two different django installations on two separate servers so clearly I'm doing something wrong. CSS files are accessible directly via URL in both cases... odd Apart

Re: Django and CSS

2008-08-29 Thread jgomo3
Juan Miguel: Confirm my suspects, thankyou. varikin: how i didn't think on it before, thanyou. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Django and CSS

2008-08-28 Thread varikin
MEDIA_ROOT is the local path to the files on the server. One place this is used is with uploading files. So uploaded files will be placed in MEDIA_ROOT/some-upload-dir. I don't know about other uses, though. John --~--~-~--~~~---~--~~ You received this message

Re: Django and CSS

2008-08-27 Thread Juan Miguel
MEDIA_URL: Says what is the RELATIVE PATH to media files. So it is relative to the root dir in server. Used when referring links in templates. I.E: http://{{MEDIA_URL}}img/img.jpg. It has many other uses but the most important is the one before. MEDIA_ROOT: Says what is the ABSOLUTE PATH to media

Re: Django and CSS

2008-08-27 Thread jgomo3
I have no problem serving static content, but i'm still confused about the MEDIA_ROOT and MEDIA_URL. Why the ROOT if i have the URL? how do you actually use those variables? In production and in develpment server i havent used them, i simply serve the statics content in some virtual server for

Re: Django and CSS

2008-04-24 Thread Darryl Ross
Rodney Topor wrote: OK, sorry for the unclear message. I've now discovered that if I use an embedded CSS file in a template - h1 { color: red} - then it works correctly. But if I use an external CSS file in a template - - then, even if the style sheet only changes font colors, the effect is

Re: Django and CSS

2008-04-24 Thread Erik Vorhes
Put your CSS files in your media directory. If your media url is "http://yoursite/media/;, then you could do something like and you should see your intended style. On Thu, Apr 24, 2008 at 10:01 PM, gmacgregor <[EMAIL PROTECTED]> wrote: > > > On Apr 24, 10:49 pm, Rodney Topor <[EMAIL

Re: Django and CSS

2008-04-24 Thread gmacgregor
On Apr 24, 10:49 pm, Rodney Topor <[EMAIL PROTECTED]> wrote: > So, if my project has a directory structure "mysite/templates/app/ > template.html", then in which directory should I place the CSS file? You'll find this thread helpful:

Re: Django and CSS

2008-04-24 Thread Rodney Topor
ng, poorly structured.) Rodney On Apr 24, 12:51 pm, Darryl Ross <[EMAIL PROTECTED]> wrote: > Rodney Topor wrote: > > Is there something strange about using CSS with Django?  When I make > > my templates refer to external CSS files, the appearance of the > > template chang

Re: Django and CSS

2008-04-23 Thread Darryl Ross
Rodney Topor wrote: Is there something strange about using CSS with Django? When I make my templates refer to external CSS files, the appearance of the template changes, but not the way the CSS file says it should? Is there something special I need to know about this? Nothing that I am aware

Django and CSS

2008-04-23 Thread Rodney Topor
Is there something strange about using CSS with Django? When I make my templates refer to external CSS files, the appearance of the template changes, but not the way the CSS file says it should? Is there something special I need to know about

Re: Django Admin CSS Problems in Safari

2006-05-09 Thread Wilson Miner
I still haven't been able to confirm this particular display problem, but adding the padding rule to #container doesn't break anything, so I went ahead and commited that change. On 4/29/06, parsch <[EMAIL PROTECTED]> wrote: > > > Matthew Flanagan schrieb: > > > I can confirm that i'm seeing this

Re: Django Admin CSS Problems in Safari

2006-04-29 Thread parsch
Matthew Flanagan schrieb: > I can confirm that i'm seeing this padding issue in safari and the > webkit inspector shows: > padding-top:10px; > padding-right:20px; > padding-bottom:10px; > padding-left:20px; > > I've been seeing it since wilson did the split of all the css files a > while back

Re: Django Admin CSS Problems in Safari

2006-04-28 Thread Matthew Flanagan
I can confirm that i'm seeing this padding issue in safari and the webkit inspector shows: padding-top:10px; padding-right:20px; padding-bottom:10px; padding-left:20px; I've been seeing it since wilson did the split of all the css files a while back but I thought it was something i had done. I

Re: Django Admin CSS Problems in Safari

2006-04-28 Thread James Bennett
On 4/28/06, parsch <[EMAIL PROTECTED]> wrote: > Thanks for your attention, I'll keep on trying to to find out what > causes the problem. If you go grab a WebKit nightly build, you can use its built-in inspector to try to isolate the problem. -- "May the forces of evil become confused on the way

Re: Django Admin CSS Problems in Safari

2006-04-28 Thread parsch
Thanks for your attention, I'll keep on trying to to find out what causes the problem. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Django Admin CSS Problems in Safari

2006-04-28 Thread James Bennett
On 4/28/06, parsch <[EMAIL PROTECTED]> wrote: > No, for modifications I use another server. > The screenshots show the results of the original CSS of the latest MR > version (I changed the background-color only). I'm running the latest magic-removal as well, and I'm unable to reproduce this. --

Re: Django Admin CSS Problems in Safari

2006-04-28 Thread parsch
No, for modifications I use another server. The screenshots show the results of the original CSS of the latest MR version (I changed the background-color only). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Django Admin CSS Problems in Safari

2006-04-28 Thread James Bennett
On 4/28/06, parsch <[EMAIL PROTECTED]> wrote: > i also used the django admin in safari a thousand times - the error > appeared just some days ago and was reproduced on 4 computers at this > time. Did it start happening right around the time you started modifying the CSS? -- "May the forces of

Re: Django Admin CSS Problems in Safari

2006-04-28 Thread parsch
hello james, thanks for your answer. i also used the django admin in safari a thousand times - the error appeared just some days ago and was reproduced on 4 computers at this time. 2 screenshots: http://www.vonautomatisch.at/DjangoAdminIndex.png

Re: Django Admin CSS Problems in Safari

2006-04-28 Thread James Bennett
On 4/28/06, parsch <[EMAIL PROTECTED]> wrote: > there are some basic problems with the django admin css (magic-removal) > and safari (2.0.3 but also earlier versions): I use the Django admin in Safari on a daily basis, and have never seen any rendering problems. Can you reproduce thi

Django Admin CSS Problems in Safari

2006-04-28 Thread parsch
hello all, there are some basic problems with the django admin css (magic-removal) and safari (2.0.3 but also earlier versions): the whole page got a top and a left "padding" and forces horizontal scrollbars to appear. i guess that this problem might be the reason for some other hard

Re: Django admin css not fully working in MS IE6 ...

2006-04-27 Thread Sam Tran
On 4/27/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Thu, 2006-04-27 at 13:06 -0400, Sam Tran wrote: > > On 4/27/06, James Bennett <[EMAIL PROTECTED]> wrote: > > > > > > On 4/27/06, Sam Tran <[EMAIL PROTECTED]> wrote: > > > > I have been working with the Django admin using Firefox. >

Re: Django admin css not fully working in MS IE6 ...

2006-04-27 Thread Sam Tran
On 4/27/06, James Bennett <[EMAIL PROTECTED]> wrote: > > On 4/27/06, Sam Tran <[EMAIL PROTECTED]> wrote: > > I have been working with the Django admin using Firefox. > > Today I tried MS IE 6 and it looks like the css file used is not fully > > compatible with IE. > > For instance, the blue

Re: Django admin css not fully working in MS IE6 ...

2006-04-27 Thread James Bennett
On 4/27/06, Sam Tran <[EMAIL PROTECTED]> wrote: > I have been working with the Django admin using Firefox. > Today I tried MS IE 6 and it looks like the css file used is not fully > compatible with IE. > For instance, the blue submit buttons are grey in IE. IE on XP (if that's what you're using)

Django admin css not fully working in MS IE6 ...

2006-04-27 Thread Sam Tran
Hi All, I have been working with the Django admin using Firefox. Today I tried MS IE 6 and it looks like the css file used is not fully compatible with IE. For instance, the blue submit buttons are grey in IE. Is there a way to fix that? Thanks. Sam