#django-hotclub

March 10th, 2009

15:15 yml
yes
15:15 yml
you end up in the multilingual guetto
15:16 yml
and this is not good I am right now working on building a cms
15:16 yml
which is composed of more than 50 apps
15:16 jezdez
oh, wow
15:16 jezdez
that is much :)
15:16 yml
and half of them are external
15:17 jezdez
cool
15:17 yml
so I would like to add one and get the 50 previous one automagicaly multilingual

March 16th, 2009

17:03 yml
does someone know if akismet can be install using pip ?
17:03 yml
if yes, from where do you grab it ?
17:03 yml
pip install akismet does not work ?
17:04 yml
and I can only find a zip file here : http://www.voidspace.org.uk/cgi-bin/voidspace/d...
17:07 jezdez
yml: yah, that sucks
17:08 jezdez
you could write http://twitter.com/voidspace about it
17:09 yml
I am not a twitter user so I wont
17:09 jezdez
oh, ok
17:09 yml
jezdez: btw thanks for your branch
17:09 jezdez
let me do it then :)
17:09 yml
of comment_utils
17:09 jezdez
oh, on github?
17:10 yml
after sometimes looping in my bocal and finding the root cause of the pb
17:10 yml
I have finally reach your branch
17:10 jezdez
:)
17:10 yml
on github
17:11 yml
How do you do to install akismet ?
17:11 yml
do you do it manually ?
17:11 jezdez
yah
17:12 yml
grrr this is a pain
17:12 yml
do you know if there is an svn repository of akismet ?
17:13 yml
In such case I could fork it on launchpad and add a setup.py if missing
17:13 jezdez
not that I know of
17:15 yml
thank you
17:18 yml
17:18 yml
17:18 yml
the first one seems to be a good starting point
17:21 jezdez
17:23 jezdez
gotta run but that should work
17:24 jezdez
bye :)
17:59 yml
jezdez thank you
17:59 yml
you have been faster than me
17:59 yml
pip install -e hg+http://bitbucket.org/jezdez/akismet/#egg=python-akismet
17:59 yml
is working fine

March 20th, 2009

13:16 dwave
I made a pypi server in django, if someones interested: http://github.com/ask/chishop/tree/master
13:17 dwave
still missing authentication for some weird reason, but working on it.
14:25 jezdez
dwave_: oooh, nice!
14:45 dwave
yeah, instead of messing with damn pip and the -e svn+ argument, I now deploy with my own pypi server
14:46 jezdez
that is awesome!
14:46 dwave
i really find it disturbing to check out trunk every time i hit deploy
14:46 jezdez
well, you should use svn tags instead
14:46 jezdez
or do you mean pinax trunk?
14:47 dwave
I probably should, the right answer would be that the authors should make a goddamn release already :)
14:49 dwave
i almost feel the need to register their projects at pypi and give it back to them later
14:50 jezdez
heh, I know what you mean ^^
14:51 jezdez
we really should consider doing that for pinax as well
14:51 jezdez
PiPI
14:51 jezdez
hehe
14:53 dwave
what I finally want is to get rid of local_apps also and deploy my project with pip install myproject, and the local_apps are installed as dependencies
14:53 jezdez
yup, good idea. that's where we are going to be in pinax 0.7
14:54 jezdez
maby we should simple "release" our pinax internal apps to our own package index
14:54 jezdez
s/simple/simply/
14:54 dwave
hehe. yeah
14:54 jezdez
that would solve some problems
14:56 dwave
think I have to make a patch to distutils though. they actually raise an exception if the -r (index url) is not "pypi"
14:56 jezdez
oh really?
14:56 jezdez
that seems weird
14:56 dwave
so python setup.py register -r mypypiserver doesn't work without removing that check
14:58 jezdez
what's the exact exception?
14:59 dwave
#if self.repository not in ('pypi', self.DEFAULT_REPOSITORY):
14:59 dwave
# raise ValueError('%s not found in .pypirc' % self.repository)
15:00 jezdez
seems to be new in 2.6
15:00 jezdez
15:00 jezdez
doesn't have it
15:00 jezdez
15:00 jezdez
there it is
15:00 jezdez
weird
15:01 dwave
hmm. maybe some left-over debugging stuff then
15:06 jezdez
15:10 jezdez
15:11 jezdez
you'd have to add an index-servers config section to your .pypirc
15:15 dwave
yeah, that was my first thought when I saw the error message
15:16 jezdez
have you tried it in py2.5?
15:16 dwave
but it doesn't actually check if it's in the config file, it just checks if the repository is either the url of the default repository, which is hardcoded to pypi, or if it's "pypi" it sets it to the url of pypu
15:18 dwave
python 2.5 it works, but not with the config format described in EnhacnedPyPI
15:40 jezdez
I see, I think that's a bug then

March 27th, 2009

15:40 savid
Does anyone here use sorl-thumbnail? I need to store my item images outside of my MEDIA_ROOT, but I can't figure out how, it seems that sorl-thumbnail expects everything to be in MEDIA_ROOT
15:47 jezdez
savid: I think it's basically an ImageField which should be able to take an optional storage argument
15:47 jezdez
15:48 savid
jezdez, thanks :) rozwell also hinted toward that on #djanog
15:48 jezdez
ah, ok :)

April 1st, 2009

05:15 ericflo

April 8th, 2009

22:32 abadr
Is there a recent post somewhere with reusable app best practices?

April 11th, 2009

21:11 HenrikV
Is there a way to change the pinax buildout.cfg so it saves the repositories in the parts directory rather than the src directory ?
21:13 Alex_Gaynor
HenrikV: you'll have better luck in #pinax
21:13 HenrikV
oops sry

July 16th, 2009

04:03 palo
hola!!

July 30th, 2009

22:28 ninext72
ciao

Sept. 9th, 2009

10:01 twan_vd_p
"No module named context_processors"
10:01 twan_vd_p
what does this mean No module named context_processors ?
10:01 twan_vd_p
DjangoBot , what does this mean No module named context_processors ?