On 13-Sep-07, at 1:48 PM, omat wrote:
> I am running 7 Django sites with an Apache + mod_python setup, on a
> Fedora Core 4 dedicated server with 2 GB memory. When I restart
> apache, memory usage is somewhere between 200 - 400 MB and quickly
> climbs up to somewhere around 1.5 GB. The sites are
On 17-Sep-07, at 4:12 PM, Dave E wrote:
> After reading about other OS X user's Django install problems, I'm
> attempting to write up the simplest, clearest possible, completely
> unambiguous, instructions for other OS X users here:
> http:ecoconsulting.co.uk/python/django-install.txt
> but obvi
On 18-Sep-07, at 4:32 PM, shabda wrote:
> Any special reasons debian based installs are better than fedora based
> ones?
lets not start distro wars here. It is all a matter of individual
choice - any linux/bsd flavour is fine - avoid windows and OSX for
production servers.
--
regards
kg
On 19-Sep-07, at 12:38 AM, Chris Brand wrote:
>> and one to run django on. (I believe I had to run 2.3 and 2.5) It can
>> make configuration for deployment to be a bit of a pain.
> I've had no such problems with my Fedora Core 6 box. Just installed
> everything using yum and it worked fine. I th
hi,
was trying sqlreset after a long time. It does not do the drop and
create statements in the proper order:
say table foo has a foreign key to table bar, then foo must be
dropped first and then bar. In creation, bar must be created first
and then foo. Otherwise, in both cases the sql fai
On 19-Sep-07, at 4:41 PM, Russell Keith-Magee wrote:
> However, it certainly
> isn't high on my list of priorities. In the meantime, you can always
> drop and rebuild the entire database, or fall back to raw SQL DROP
> TABLE statements, managed manually.
not a problem for me as this is only th
On 20-Sep-07, at 12:23 AM, Steve Potter wrote:
> I'm already quite sure I don't want to install mod_python on the
> existing Apache after reading all of the warnings about using the same
> Apache to serve static documents and Django.
I am not sure exactly what you mean by this. mod_python is th
On 20-Sep-07, at 8:09 AM, Graham Dumpleton wrote:
> All those warnings about using the same Apache to serve static
> documents as Django are generally totally meaningless to the average
> user. This is because the load on an average Apache site is no where
> near enough for it to be of concern.
hi,
I have choices like this:
HEALTH_CHOICES = (
('G',_("Good")),
('A',_("Average")),
('P',_("Poor")),
)
my site is english and finnish. These choices are used in several
models. When finnish is on, they get translated in the web interface.
I also generate reports in repo
On 20-Sep-07, at 9:01 AM, Graham Dumpleton wrote:
>> one caveat here - if you are running a site on shared hosting with
>> soft RAM limit - like the 40 MB webfaction account, then it is wise
>> to bypass mod_python for media to avoid those nasty monday morning
>> mails about exceeding your limit
you just don't have the translation for 'Good' filled in in the
> Finnish po file for that .py file but do have it translated for
> another context? That could explain why it shows up in some other
> places but not in the report.
>
> Just a guess :)
>
> Cheers,
On 20-Sep-07, at 4:42 PM, Werner F. Bruhin wrote:
>> other pdf reports. Not this particular one. I *know* there has to be
>> some very simple explanation for this - but cant for the life of me
>> find what it is.
>>
> Does "Good" in Finish use some special characters?
it does - but so do other
On 20-Sep-07, at 7:09 PM, Nis Jørgensen wrote:
>> it does - but so do other words that are getting translated
>> successfully, and 'Good' itself is getting rendered properly in other
>> parts of the site and in other reports
>>
> Still, those other parts/reports may be doing something slightly
>
On 21-Sep-07, at 7:55 AM, Kenneth Gonsalves wrote:
>> which has problems with the special characters?
>
> all reports use the same font. And all the other reports display that
> particular problem character ok. And, just noticed that the same
> problem character that refuses
On 21-Sep-07, at 5:13 PM, Anurag wrote:
> However my admin interface is all garbled up and what i did was i
> copied the media directory from /admin/media into the htdocs of my
> Apache setup. But i am still unable to see the admin interface
> correctly.
coming from php? Never put anything in
On 24-Sep-07, at 3:44 PM, AniNair wrote:
> I installed TinyMCE as mentioned in
> http://www.dehora.net/journal/2006/05/
> using_tinymce_in_djangos_admin.html
> I am trying according to the doc
> http://code.djangoproject.com/wiki/
> AddWYSIWYGEditor#UsingTinyMCEwithflatpages
> Any ideas?
so w
On 24-Sep-07, at 2:32 PM, AniNair wrote:
> Hi...
> Can someone please tell me how to use TinyMce in admin for editing
> flat pages?
did you check out the list archives - it is all explained there
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~
On 25-Sep-07, at 10:23 AM, Oleg Korsak wrote:
> Hello! I have many `tour` objects as a key for a `tour_dict`
> dictionary.
> How can I access tour_dict values using tour? Like tour_dict[tour]...
> template will not work with [ ]
how about tour_dict.tour?
--
regards
kg
http://lawgon.livejou
hi
are the menus on the right side in the documentation missing, or is
it just something wrong with my browser?
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message because you are subscrib
On 25-Sep-07, at 8:29 PM, Kenneth Gonsalves wrote:
> are the menus on the right side in the documentation missing, or is
> it just something wrong with my browser?
become ok now
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.
hi,
I have a view which extracts words from another table and saves them
into the words table. My code is like this:
w = Word(word=wd,written=False,
language=lng)
w.save()
since 'word' is unique, to avoid a referential integrity error I do:
tst = Word.objects.get
On 26-Sep-07, at 5:43 PM, omat wrote:
> I know this is stupid, but it is theirs. I am just trying to find a
> hack and I'd rather not do it at all then do it in PHP.
you can make your urls look like php urls
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~
On 27-Sep-07, at 1:32 PM, Heba Farouk wrote:
> psycopg2.OperationalError: FATAL: Ident authentication failed for
> user "postgres"
edit your pg_hba.conf file and set authentication to 'password'
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~
On 28-Sep-07, at 12:31 AM, Tim Chase wrote:
> (whether via hitting the "manage.py runserver" server, or
> actually pointing at it via your production web server). Python
> will notice that the .pyc is out of date and automatically
> rebuild it for you. This happens so quickly, it's almost
> un
On 28-Sep-07, at 2:31 PM, ygneo wrote:
> The problem is that every time I change settings.py I need to restart
> apache to apply changes,
this is normal - you *must* restart apache whenever you change
anything other than templates
> and sometines even that doesn't changes
> nothing.
that is
On 28-Sep-07, at 11:16 PM, Milan Andric wrote:
> Is there some standard practice on a machine that has production code
> running in mod_python but also has developers running their django-
> python web server? Is that discouraged? I figure a regular user
> would not share the same django with
hi,
I have a view that takes a sentence in unicode from a database,
splits it into words and dumps those words in the Word table. The
'word' in word table is unique, and it is expected that duplicates be
rejected, so I put 'save()' within a try-except statement. If my view
does one record
replying to my self
On 29-Sep-07, at 12:07 PM, Kenneth Gonsalves wrote:
> def lessontodict(request,id):
> """
> After a lesson is approved, the words, both written and
> spoken are
> dumped into the word table
> """
On 02-Oct-07, at 2:46 PM, Nis Jørgensen wrote:
>> improper formatting - but am unable to find out where exactly the
>> formatting is improper. If I put this function in the 'save' method
>> of the model - I get the same error.
>
> This is an instance of the problem described here:
>
> http://cod
On 02-Oct-07, at 6:21 PM, Nis Jørgensen wrote:
>> get_or_create, *only* using the value of 'word' in the query - if
>> created, then I do an update to set the other fields - otherwise I
>> leave it alone.
> You could also use the "defaults" argument to get_or_create:
>
> http://www.djangoproject
On 02-Oct-07, at 7:47 PM, Nis Jørgensen wrote:
>
> get_or_create with "defaults" does what you asked for originally -
> though the person commenting in the ticket got the syntax wrong.
I'll test it out again and revert
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/we
On 04-Oct-07, at 2:54 PM, Divan Roulant wrote:
> Is someone aware of a recent change in Django that would have modified
> the use of the nesh package?
there was something that broke - I remember facing the same problem,
but I dont remember what I did - yes, somewhere in there there is 'str
(
Hi,
after upgrading to the unicode branch - I am using svn trunk, I find
that in the changelist, when I want to change an entry where there
are non-ascii characters in the name, I am getting an ascii cant
decode the non-ascii characters. This is appearing in line 15 of
change_form.html, i
On 07-Oct-07, at 8:25 PM, Malcolm Tredinnick wrote:
> doing to cause the issue. It's also important to note which version of
> Python you are using, as well as the database and the database
> encoding
> (and databse backend in the case of mysql or postgresql, since
> there are
> differences
On 08-Oct-07, at 7:36 AM, Malcolm Tredinnick wrote:
> So keep hunting and do let us know if you find anything.
will work on it - am busy for a couple of days - thanks for taking
the trouble
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~---
On 10-Oct-07, at 7:15 AM, coffeeho wrote:
> I'm trying to implement the django-tagging app. My "links" app has a
> tags field.
could you clarify which version of django you are using
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~--
On 10-Oct-07, at 8:27 AM, Greg wrote:
> def searchresult(request):
mysearchlist = []
> if request.method == 'POST':
> mysearchlist = [1,2,3,4,5]
> if request.method == 'GET':
> assert False, mysearchlist
--
regards
kg
http://lawgon.livejournal.com
http://nrcfo
On 11-Oct-07, at 10:51 AM, Jeremy Dunck wrote:
>> . I still can't get django find the files textareas.js and
>> tiny_mce.js. it's returning 404. Please help. Thank you
>>
>
> What's your admin URL and what URL is being requested for the
> textarea.js?
> This is generally a matter of putting th
hi,
I have a bunch of sites in production running on python 2.4.x.
Recently I set up a new desktop with mandriva2007 and set up my sites
on the local machine with python 2.5, apache2.2 and mod_python 3.3.1.
The directory setup and files were taken directy from the svn
checkouts of the runn
On 14-Oct-07, at 3:43 PM, Dan Filip wrote:
> WHY DOESN'T ANYONE BLOCK THESE STUPID ADS???
dont *do* this - you are just increasing the spam. Trust the list
admins.
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---
On 08-Oct-07, at 7:36 AM, Malcolm Tredinnick wrote:
>> name = CharField of some some length and have
>> __unicode__() = "%s" %(self.name)
>>
>> in admin enter a finnish word with special characters like: Asikainen
>> Päivi ja Jorma. On saving, or after saving, on trying to edit the
>> word I ge
On 15-Oct-07, at 10:57 AM, Malcolm Tredinnick wrote:
> So, in the rare case where, say, self.sponsor is a UTF-8 string,
> Kenneth's version might lead to trouble down the track -- but I would
> have thought that trouble would be mis-displayed strings, rather
> than a
> crash.
ok - when I put
On 15-Oct-07, at 5:33 PM, AniNair wrote:
> errors happened while running xgettext on __init__.py
> 'xgettext' is not recognized as an internal or external command,
> operable program or batch file.
either you dont have xgettext on your machine or it is not on the
path. You need to install it
On 15-Oct-07, at 6:04 PM, AniNair wrote:
> Thank alot for the reply. Yes, I too thought that I just don't have
> the file xgettext.py in my python lib, so added that. Still returning
> the same error. (gave the path too in env variable as c:/python25/lib
> and restarted the comp). Any ideas?
i
On 15-Oct-07, at 8:31 PM, Rytis Sileika wrote:
> I was just wondering, what are the best practices to setup/manage
> django projects?
>
> Let's assume two developers working on the same project, same machine.
> Models, views are constantly changing, that would make me think that
> the best way i
On 16-Oct-07, at 12:19 AM, Phwaxmon wrote:
> I think I just need something to get me started. So far I have been
> getting errors, or just ain't been able to execute anything. I am not
> sure if everything has installed correctly, or whether you people who
> have more experience can tell me to c
On 17-Oct-07, at 12:19 AM, Wiley wrote:
> apache with only one of these hosts enabled, each works fine, its just
> when I run then both at the same time, if i go to mandarinland.com, it
> loads a css-free version of chinabites.comdoes anyone know what's
> going on here? I attach the apache
On 17-Oct-07, at 7:31 AM, Wiley wrote:
> Kenneth and Bob, the PythonInterpreter thing was the first thing I
> checked (because it was in the official docs) if you notice I have
> different PythonInterpreters already set in the two virtual hosts in
> my original post...am I missing something obvi
On 20-Oct-07, at 7:22 AM, Laszlo Marai wrote:
> You can host multiple applications in django but as far as I could see
> from the mailing list you'll have some problem if you want to have two
> different django instances running under mod_python.
not so. There have been reports of over 70 djang
On 20-Oct-07, at 7:46 AM, Laszlo Marai wrote:
>>
>> not so. There have been reports of over 70 django instances running
>> under mod_python in the same server. I have 12 in one server without
>> problems.
>
> Wasn't there a question here about mod_python a few days ago where the
> solution was t
On 18-Oct-07, at 3:39 AM, Greg wrote:
> Ok...let's try this again. Hopefully this works.
it worked all four times - and hosting provider depends on the size
and scale of the site you are building
small site, low memory - webfaction
medium site - or more than one site - VPS, I found tektonic
On 20-Oct-07, at 2:34 PM, erick wrote:
> Is it possible to deploy Django in this environment? If yes, any
> suggestions?
dont even try - change your hosting
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You
On 20-Oct-07, at 3:07 PM, Justin Lilly wrote:
> I believe the answer will be no. The main reason being #3 as I
> think most other obstacles can be overcome. I would suggest
> webfaction as an alternative (from word of mouth, not personal
> experience).
+1 from personal experience - though
On 21-Oct-07, at 4:07 PM, Kent Johnson wrote:
>>
>> +1 from personal experience - though I just found that they dont have
>> pg_dump on their server.
>
> I use pg_dump at WF:
> /usr/local/pgsql/bin/pg_dump
yes, found it - I thought it would be on the path
--
regards
kg
http://lawgon.livejour
On 22-Oct-07, at 12:26 AM, dbee wrote:
> I've searched all the directory tree of mysite for the string
> 'oldapp', and it's definitely not there.
must be there in the foreign keyfield of userprofile
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-
On 22-Oct-07, at 1:30 PM, Jarek Zgoda wrote:
> Maybe some local DUG in Warsaw
DUG? Django User Group?
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
On 22-Oct-07, at 1:45 PM, Jarek Zgoda wrote:
>>> Maybe some local DUG in Warsaw
>>
>> DUG? Django User Group?
>
> I think so. Does this sound riduculous (or what)?
DUG has unfortunate connotations - why not standardise on DjUG - with
the 'D' silent, so it would denote a dJUG of beer which is
On 24-Oct-07, at 10:10 AM, Camo wrote:
> So I was just wondering how people go about validating models.
overide the save() method and add your own business rules in the model
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~--
On 24-Oct-07, at 11:55 AM, jnap wrote:
> jnap:~ jnap$ ln -s /usr/local/lib/python2.3/site-packages/django_src/
> django/bin/django-admin.py /usr/local/bin/django-admin.py
> ln: /usr/local/bin/django-admin.py: Permission denied
you have to do it as root
--
regards
kg
http://lawgon.livejournal
On 24-Oct-07, at 12:15 PM, jnap wrote:
>
> anyone?
>
> On Oct 24, 2:36 am, jnap <[EMAIL PROTECTED]> wrote:
>> sorry for another dumb question...but how do i do it as root?
on ubuntu - type sudo ln -s etc
on other distros type su, press enter and enter the root password and
then execute the co
On 24-Oct-07, at 12:31 PM, jnap wrote:
> Now I get this error: -bash: django-admin.py: command not found when I
> run django-admin.py startproject testproject
sudo ln -s pathtodjango/bin/django-admin.py /usr/bin/django-admin.py
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpli
On 24-Oct-07, at 1:28 PM, bjornkri wrote:
> I was sure this must be a common problem, as I've tried two different
> installations with completely different setups, and the same results
> in both cases. But looking up the error message, "Incorrect string
> value", didn't give me anything
what ve
On 24-Oct-07, at 3:37 PM, bjornkri wrote:
> 0.97-pre-SVN-6603 (just updated, had the same on -6596)
are you using the __unicode__(self):
return u"string to return"
syntax?
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~
On 24-Oct-07, at 4:42 PM, bjornkri wrote:
> def __unicode__(self):
> return self.title
def __unicode__(self):
return u"%s" % self.title<- try this
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~
On 24-Oct-07, at 7:50 PM, bjornkri wrote:
> Some data IS entered into the database - when I tried just now with a
> 'content' of Greek text, I get the Incorrect string value message, but
> when I go back to the admin interface the entry is there but filled
> with question marks where the Greek t
On 24-Oct-07, at 9:24 PM, alain D. wrote:
> """By %}>{{ myobject.owner.username }}"""
>
> of course, I'd like to have : """by %(username)s""" as a key in my
> translation files ...
frankly I dont understand the question - are you generating html code
in your view?
--
regards
kg
http://law
On 24-Oct-07, at 9:53 PM, Joshua Simpson wrote:
> I'm using WebFaction and Linode. WebFaction is great for ease of use,
> Linode is great for Xen instances. Has anyone used WebFaction's SVN
> app before?
as a client or as a repository? I use it as a client, havent tried as
a repository yet
On 25-Oct-07, at 3:34 PM, alain D. wrote:
> My question is : how can I use the django translation mecanism
> (blocktrans tag & co) to translate that so that I will have
> This object has been created by %(username)s"
> in my po file ...
you do it in the __unicode__() method in your user model
On 26-Oct-07, at 10:49 AM, Robert Bunting wrote:
>> so is this a legacy database - meaning a database which had data
>> before you upgraded to unicode django? In that case, we have seen in
>> postgres that the old data is b0rked and needs to be reentered,
>> otherwise it wont work. You need to e
hi,
I am having problems checking out the latest head (it could be due to
my present flaky internet connection). The failure message is:
svn: REPORT request failed on '/svn/!svn/vcc/default'
svn: REPORT of '/svn/!svn/vcc/default': 200 OK (http://
code.djangoproject.com)
I have got this three
On 27-Oct-07, at 3:42 PM, Lars Stavholm wrote:
>> svn: REPORT request failed on '/svn/!svn/vcc/default'
>> svn: REPORT of '/svn/!svn/vcc/default': 200 OK (http://
>> code.djangoproject.com)
>>
>> I have got this three times at the same place
>
> Just tested, works nicely for me.
working now
--
On 27-Oct-07, at 11:29 PM, Adam D. wrote:
> Everywhere I read about django, it suggests to put your django project
> outside of your servers document root.
the only thing you should put in document root is your favicon
>
> My question is if my document root is '/var/www/vhosts/domain.com/
> doc
On 28-Oct-07, at 4:48 AM, Karen Tracey wrote:
> On 10/27/07, Joel Hooks <[EMAIL PROTECTED]> wrote:
> It doesn't seem to matter what I put in the search_fields, it always
> returns every object in the list. My guess is that I am doing
> something incorrectly, but I can't figure it out after much
On 28-Oct-07, at 8:54 AM, James Bennett wrote:
>> I have some links on my site. I don't want to wrap these links
>> around
>> a form element. Is there anyway that I can send post data without
>> using a form?
>
> You need to start by reading this:
>
> http://faqs.org/rfcs/rfc2616.html
cool
hi,
I have noticed that whenever I reply to a post on this list, I get a
bounce message from eox.com.my - can the admins do something about this?
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received th
On 30-Oct-07, at 2:18 AM, Matthias Kestenholz wrote:
> He is saying that you should really, really take the time to learn
> python before
> trying to do anything with django.
s/before/while/
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~
On 30-Oct-07, at 7:45 PM, [EMAIL PROTECTED] wrote:
> I've tried adding r'^django/' at the front of the urls in my url
> config, but that just results in none of the urls matching.
i normally use http://mysite/web/ , so admin would be: mysite/web/
admin/, all I do is add r'^web/' in front of my
On 31-Oct-07, at 9:06 AM, Malcolm Tredinnick wrote:
>> Part of the problem may come from the fact I'm hosting this on
>> WebFaction, and in their control panel the django installation is
>> rooted at /django. I'm guessing (though few of my guesses have panned
>> out so far) that that setup sends
On 31-Oct-07, at 10:36 AM, Kenneth Gonsalves wrote:
>> think it's been simple as that all along, and I've just been tripped
>> up by using webfaction's control panel...
>
> I just treat it as a shell account - removed what they did and set up
> my own. Onl
On 31-Oct-07, at 10:24 AM, [EMAIL PROTECTED] wrote:
> If you didn't use the control panel to mount the django installation
> at /web, did you have to do anything else special to get it to work
> properly, besides adding a ^web/ prefix to your url files? I'd hate to
> think it's been simple as th
On 31-Oct-07, at 7:24 PM, [EMAIL PROTECTED] wrote:
>> main apache, you *must* put it in ./webapps/ directory):
>
> One last question then I'll let this drop: Kenneth you mention putting
> things directly into your webapps directory: I don't have write
> permission in my webapps directory, how di
hi,
am on unicode, unicode postgresql and unicode everywhere. When trying
to save a model in admin, if it has ' or " in the text i get the
programming error - ascii cannot decode etc ... Any clues?
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~
On 31-Oct-07, at 7:50 PM, Francis Lavoie wrote:
> If you only plan to do developpement or testing, why is the
> included web server not enought?
if development and testing is the goal, then it is enough. But if you
have plans of putting your app in production, it makes sense to
duplicate
On 31-Oct-07, at 9:08 PM, cjl wrote:
> Will these two regular expressions match the same strings? The both
> seem to work for me, but I couldn't find any information about the
> importance of order between square brackets.
dont put '-' between any letters in square brackets - to be on the
saf
On 31-Oct-07, at 9:47 PM, Stupid Dustbin wrote:
> MEDIA_ROOT
the directory where you upload media
> MEDIA_URL
the url where your site media - css, js, icons etc live
> ADMIN_MEDIA_PREFIX
the alias to where the admin media lives - django/contrib/admin/media
--
regards
kg
http://lawgon.livej
On 01-Nov-07, at 7:41 AM, Kristinn Örn Sigurðsson wrote:
> r'^accounts/(?P[\w\-]+)/?$'
r'^accounts/(?P[\w-]+)/?$'
works for me - no need to escape the '-' if it is at the end
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~-
On 01-Nov-07, at 8:15 AM, Malcolm Tredinnick wrote:
>> hi,
>> am on unicode, unicode postgresql and unicode everywhere. When trying
>> to save a model in admin, if it has ' or " in the text i get the
>> programming error - ascii cannot decode etc ... Any clues?
>
> Based on the complete lack of
On 01-Nov-07, at 10:06 AM, Karen Tracey wrote:
> svn head, postgres 7.4.x, python 2.4
>
> Traceback? I cannot recreate in my setup (considerably different:
> svn newforms-admin, MySql 5.0, Python 2.5.1). It's probably
> significant that the quote character in that string is curly,
> thou
On 01-Nov-07, at 2:25 PM, Ivan Sagalaev wrote:
> Ah... So this is what you called "ascii cannot decode etc" in your
> original post? This is an absolutely different issue that has
> nothing to
> do with Python's default usage of ascii for decoding or even Django's
> unicode internals.
>
> What
On 03-Nov-07, at 8:57 PM, Sander Dijkhuis wrote:
> I often have to reload one project because I've updated the code.
> Currently, I use `/etc/init.d/apache2 reload`
why dont you do apache2ctl graceful?
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~--
On 04-Nov-07, at 4:00 PM, Graham Dumpleton wrote:
>> why dont you do apache2ctl graceful?
>
> As far as the consequences on a loaded Django application is
> concerned, doing a graceful as opposite to a restart (OP wrongly said
> reload), is not really any different.
agreed. But when restart is
On 06-Nov-07, at 11:22 PM, Lars Stavholm wrote:
>> ok, seriously, is there not something we can do about the porn spam?
>> some of us read this list at work on machine's we don't own. the
>> image
>> stuff is becoming a serious problem.
>
> I do believe that Google groups are filtering out cl
On 07-Nov-07, at 6:49 AM, [EMAIL PROTECTED] wrote:
> Sorry to be unclear, I mean blogs about django
then B-list is the best
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message because yo
On 07-Nov-07, at 10:14 AM, Stupid Dustbin wrote:
> image = models.ImageField(upload_to='/toy_images/')
upload_to='toy_images/'
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message because
On 08-Nov-07, at 11:53 AM, stranger wrote:
> http://img158.imageshack.us/img158/7829/screenshotrm6.png
>
> Please suggest me a solution.
it would be more helpfull if you paste the full error message in
http://dpaste.com
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/
On 08-Nov-07, at 12:23 PM, stranger wrote:
> crimemap is the name of the project. and the bottom part of the page
> shows the META and SETTINGS.
is crimemap in your path? symlink it to the site-packages directory
and try again
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpl
On 08-Nov-07, at 12:34 PM, stranger wrote:
> Can you please tell me how to put crimemap on path. What is sym-
> linking? Can you explain briefly?
as root, at the prompt type:
ln -s /pathtocrimemap/crimemap /usr/lib/python2.x/site-packages/crimemap
and press enter
for the 'x' for python2.x, put
On 08-Nov-07, at 10:42 PM, [EMAIL PROTECTED] wrote:
> I'm also on webfaction, and like it. The most basic plan is pretty
> skimpy on server RAM (simply enabling debug on my site put it over the
> limit, and I was the only one accessing it)
if you tweak apache a bit and make sure media goes thro
On 09-Nov-07, at 7:28 PM, Mason wrote:
> My Apache2.conf can be viewed here: http://dpaste.com/hold/24636/\
1. never post the full conf file - relevant portion is enough
2. in debian/ubuntu, dont put vhost info in the main conf file. You
make your vhosts files, one per vhost in /etc/apache2/s
On 10-Nov-07, at 12:56 AM, LorenDavie wrote:
> import random
> Book.objects.all()[random.randint(0,Book.objects.count()-1]
Book.objects.order_by('?')[0]
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You rec
901 - 1000 of 2036 matches
Mail list logo