Install MySQL for Python Django on my Windows PC

2013-08-06 Thread Glenn Vulkers
Hello ,

I'm wondering how I can install Mysql to use in Python Django on my Windows 
PC.
I tried to install Ubuntu on a Virtual PC but it's just not working. So I 
managed to get Django
on my Windows PC, but I cant go any further with working with it, because I 
don't have MySQL.
I've looked around on the internet but couldn't find anything usefull, and 
the tutorials I've watched
are based around MAC and Linux OS.

I hope anyone can help me how I can install and use MySQL for Python on my 
Windows PC.

Thanks :)

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




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 subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


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',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
# Uncomment the next line for simple clickjacking protection:
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
)

And this:

INSTALLED_APPS = (
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
# 'django.contrib.sites',
 'django.contrib.messages',
# 'django.contrib.staticfiles',
# Uncomment the next line to enable the admin:
# 'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
'books',
'django.contrib.admin',
)

And then did syncdb in the shell.

In urls.py :
from django.contrib import admin
admin.autodiscover()

And made a urlpatterns




Op dinsdag 20 augustus 2013 18:44:09 UTC+2 schreef ke1g:
>
> 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 and such"
>
>
> On Tue, Aug 20, 2013 at 12:35 PM, Glenn Vulkers 
> 
> > wrote:
>
>> 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 subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/django-users.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


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 missing. Does anyone know what to do? I'm 
> running Python2.7
>
> Glenn
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.