and for the love of god don't tell me it's not runserver
amarsaini
python manage.py runserver
hiway has quit
apollo13
and what happens when you manually open the file in the browser?
+ do you have staticfiles in installed_apps?
although if findstatic works, that's probably the case :þ
mattmcc
On a roll today. ;)
Laybunz has quit
amarsaini
i am able to see in browser
apollo13
well then you have no css rules to do what you want ;)
amarsaini
'django.contrib.staticfiles',
in setting
apollo13
or you override what you have in base.html somewhere, check the html output it generates… and test with some basic css rules
amarsaini
one doubt i have css defined in basehtml
shredding joined the channel
so will be carried to all my template files
apollo13
not if your override that in subtemplates
amarsaini
i have no inline css in any template
apollo13
that's not what I am saying
I am talking about template inheritance and block.super
joshfinnie joined the channel
the_rat joined the channel
jax joined the channel
amarsaini
workingnow
anybody ever used wookmark.js
Cromulent joined the channel
Cromulent has quit
apollo13
why would you need js for that
just use CSS
although you might need JS for scaling depending on your images
joshfinnie has quit
pydanny joined the channel
pydanny: already prepared for your keynote? :)
pydanny
I hope so. :P
You gonna be there apollo13 ?
apollo13
no :( I have an exam tomorrow and a few next week
pydanny
Come anyway. The exam is just your whole life and EuroPython is just a week
apollo13
grml grml
H25 has quit
jdo_dk has quit
m8 joined the channel
ojh has quit
FunkyBob
apollo13: "GV = less code" ... and yet, so frequently that's bollocks
apollo13
right, that's why I usually have my own generic views suited for the project in question^^
jdmssmkr joined the channel
the_rat has quit
FunkyBob
meanwhile, I'm trying to get my head around kombu... :/
the_rat joined the channel
apollo13
uh
have fun I guess
FunkyBob
heh
koshie
Hey
I get no response on #mezzanine so I'm asking here, maybe you can help me: I want to install the CMS mezzanine in a virtualenv with python2.7 and Django 1.5.1, but I've this: http://pastebin.ca/2412018
An idea?
apollo13
well yeah, put your settings onto the pythonpath
and if you want your module to be named "dev.blog" that won't work
python uses dot as separator
koshie
Oh
I see.
alterve has quit
apollo13
not sure if that's your actual issues, since I don't know your fs layout
rydgel joined the channel
koshie
So I need to change the name and modify my pythonpath.
apollo13: my fs layout? Sorry I'm new with Django :)
apollo13
well in a normal django setup you don't need to change the pythonpath
at least not if you use manage.py and startproject
CommandError: 'dev.blog' is not a valid project name. Please use only numbers, letters and underscores.
koshie
Oh, I didn't read it
apollo13
so it's just mezzazine-project which is broken
mind opening a bug report there?
koobs has quit
cause django's startproject won't allow you to create a project like that
koshie
Why a bug report?
oh
It allow me to create a project with a dot, but it's not normal?
apollo13
no, that will never ever work
koobs joined the channel
koshie
yeah I've understand
but Django has to tell me I can create the project, but it let me create this one with the dot in the name.
apollo13
and django doesn't allow it, so it's just mezzazine_project which is broken here
koshie
ok
I can't create*
rydgel has quit
apollo13: and «dev_blog» is a valid name, I guess
apollo13
jupp
koshie
thanks dude :)
apollo13: seems to works :-)
But I've still this error: /home/koshie/www/dev_blog/local/lib/python2.7/site-packages/mezzanine/utils/conf.py:48: UserWarning: You haven't defined the ALLOWED_HOSTS settings, which Django 1.5 requires. Will fall back to the domains configured as sites. warn("You haven't defined the ALLOWED_HOSTS settings, which "
So I need to change my pythonpath?
FunkyBob
no
that error is entirely unrelated to your PYHONPATH
koshie
or modify the line 48 of conf.py maybe?
ok
FunkyBob
it mean you need to set ALLOWED_HOSTS in your settings
koshie
FunkyBob: for a local project which are not, for the moment, online, I don't care?
apollo13
yes, just make sure to not foreget it when you deploy
koshie
Ok thanks
FunkyBob
for cases where you're not worried about host header spoofing, just set it to = ['*']
koshie
I'll come back later if I've problem, until have a nice sunday :-).
s/until/meanwhile/
FreedomFighter joined the channel
FreedomFighter has quit
koobs has quit
zhost joined the channel
mengu joined the channel
jscott1989 has quit
pupil joined the channel
Milossh has quit
knite has quit
jajmon joined the channel
jajmon
ello
felix89 has quit
how can i set the value of a hidden field without explicitly going value="{{ my_stuff }}"
jdmssmkr has quit
Milossh joined the channel
Milossh has quit
Milossh joined the channel
ok, so "initial" seems to be the way to go
knite joined the channel
FunkyBob
why do you have a hidden field?
arietis has quit
crazydiamond joined the channel
iivvoo
when pip-installing my package directly from github, my templates/ directory (and contents) are not installed, *.py files are
what could I be missing?
apollo13
a proper setup.py/Manifest
jajmon
FunkyBob, I want to store the url my form is submitted from
joshfinnie joined the channel
iivvoo
hmm, Manifest perhaps
apollo13
setup.py rather, Manifest is only for sdist I think