Re: Delete "hook" for admin

2009-02-23 Thread David Reynolds
ng or is there a "cleaner" or "proper" way to do > this? A hook to do what exactly? If you mean what I think you mean then you can override the delete() method on the Model, or you can use Signals. -- David Reynolds da...@reynoldsfamily.org.uk --~--~-~--~~---

Re: Hosting an Email server and receiving all mails pertaining to @mysite.com

2009-02-23 Thread David Reynolds
e tried many sites like stackoverflow but > didn't receive any help. Please help me. Thankyou. I don't believe this is related to the usage of Django. You may be better off looking for a Postfix usergroup or mailing list. -- David Reynolds da...@reynoldsfamily.org.uk --~--~---

Re: how to use django ORM in standalone script ?

2009-02-23 Thread David Reynolds
ch > more handy than raw sql. What should I import to plug in django in > standalone script that runs from command line ? I find this useful for when I need to make a standalone script: http://www.b-list.org/weblog/2007/sep/22/standalone-django-scripts/ -- David Reynol

Re: TextMate Django Bundle

2008-12-22 Thread David Reynolds
On 17 Dec 2008, at 23:00, felix wrote: > and thanks to whoever made this ! very useful. The maintainer is PBX / Paul Bissex -- David Reynolds da...@reynoldsfamily.org.uk --~--~-~--~~~---~--~~ You received this message because you are subscri

Re: How can I report a new user?

2008-12-11 Thread David Reynolds
gested as being better - not sure if that is still true though. -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, s

Disabling Admin validation

2008-11-24 Thread David Reynolds
Hi, Does anyone know of an easy way to disable the admin areas validation of my model admin classes without setting DEBUG to False which does it, but is not much use in development. Thanks, David -- David Reynolds [EMAIL PROTECTED

Re: Where is my Django?

2008-10-27 Thread David Reynolds
On 23 Oct 2008, at 5:32 pm, leonel wrote: > dpkg -l python-django shows all the package contents .. No, dpkg -l gives you a list of packages your system knows about it must be dpkg -L python-django as I noted before ;) -- David Reynolds [EMAIL PROTEC

Re: Where is my Django?

2008-10-23 Thread David Reynolds
t > find de directory 'django' in site-packages on /usr/lib/python2.5/ > site- > packages or /usr/lib/python-django > > Some body can help me? dpkg -L python-django This will give you a list of all of the files in that package and where they are.

Re: How to get a page in Django?

2008-10-17 Thread David Reynolds
On 17 Oct 2008, at 5:08 am, Gnarlodious wrote: > I don't know anything about Python except for how to run SQLite > commands. Mostly my strong point is HTML If you familiar with another programming language, may I suggest Dive into Python? http://diveintopython.org/ -- David Re

Re: Generating a file from lots of data

2008-10-16 Thread David Reynolds
Well, this starts getting complicated and sslightly OT - you > may want to seek more help on the topic on a more appropriate > neswgroup anyway...) Also noted. Many thanks for your help Bruno. Thanks, David -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~-

Re: Generating a file from lots of data

2008-10-16 Thread David Reynolds
ook model details, so a query is run for each row as it is added to the csv output to get the Address details. Is there anyway I can optimise this with the ORM or am I looking at writing some custom SQL or denormalising the data? Thanks for any advice you can give.

Re: Generating a file from lots of data

2008-10-15 Thread David Reynolds
/howto/outputting-csv/#using- > the-python-csv-library I think I thought I'd be able to make a more flexible output - I may have been wrong. Do you think the csv module would be quicker? Thanks, David -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~-

Generating a file from lots of data

2008-10-15 Thread David Reynolds
? If any more information is needed please let me know. Thanks, David 0 - http://docs.djangoproject.com/en/dev/howto/outputting-csv/#using- the-template-system -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you

Re: Which IDE do you choose with django?

2008-10-14 Thread David Reynolds
On 13 Oct 2008, at 7:09 pm, Django users wrote: >> I am a newbie of django, and want to know which IDE is suit for >> django? >> >> thank your Textmate on OS X -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received

Re: How can I check which view is being called in response to a specific Url?

2008-10-13 Thread David Reynolds
w header as set by the XViewMiddleware should tell you what view is being called by a URL -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gr

Re: Using Javascript

2008-10-08 Thread David Reynolds
On 8 Oct 2008, at 3:18 pm, Johnny wrote: > Someone's got an idea? Write a django view that returns JSON and use your Javascript to call that. You should be able to parse the JSON from javascript. -- David Reynolds [EMAIL PROTEC

Re: random quote help

2008-10-08 Thread David Reynolds
you want -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from thi

Re: Why does MySql gives warning? Incorrect string value: '\xE6\x9D\xB1\xE8\xA8\xBC...' for column 'title' at row 1

2008-10-06 Thread David Reynolds
e don't get all of those hyphens appearing all over the place? -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: Highlight current active page

2008-09-30 Thread David Reynolds
n your context. -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe

Re: Anti-spam suggestions (strange case)

2008-09-29 Thread David Reynolds
On 24 Sep 2008, at 3:40 pm, Grigory Fateyev wrote: > Maybe create new field w/ captcha validation? http://smileychris.tactful.co.nz/ramblings/recaptcha/ .. is a good place to start. -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You recei

Re: Admin field custom validation

2008-09-29 Thread David Reynolds
missal (if I use clean_logo) 'NoneType' object is > unsubscriptable. > > Does that make sense ? In clean() you must return self.cleaned_data and similarly in clean_logo() you must return self.cleaned_data['logo'] or else you will get the blank field in your database record, or the erro

Re: Absolute URL vs Relative URL, or ~ ?

2008-09-16 Thread David Reynolds
ange the "/mysite/" to "/v2/" (and the other settings to reflect your settings) and you should be away. -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dj

Re: Unittest for Formwizard

2008-09-11 Thread David Reynolds
ctual wizard is working fine, I'm just trying to work out how I can make a test against it... -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To po

Re: Filtering ManyToManyField

2008-09-11 Thread David Reynolds
els.py#L458 -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from

Re: request.POST.get is not working

2008-09-11 Thread David Reynolds
eing called, by sticking an alert in the function? Check your development log to see if the post is going through correctly? Print the contents of request.POST to see if the data is getting through? All/one of these should be useful for debugging what is going on. -- David Reynolds [EMAIL PROTECT

Unittest for Formwizard

2008-09-11 Thread David Reynolds
Hi, I am attempting to write a unit test for a Formwizard, but I can't seem to make it work. Has anyone else attempted this or does anyone have any pointers? I think the problem might be the hash not matching, between the steps. -- David Reynolds [EMAIL PROTECTED

Re: ImageField

2008-06-25 Thread David Reynolds
or "license" for more information. (InteractiveConsole) >>> import Image -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gro

Re: Django graphic designers

2008-06-10 Thread David Reynolds
my options is to hire a designer, but I would prefer to hire > one > with Django knowledges. Another resource... http://www.oswd.org/ -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: Changing timestamps in apache with mod-python

2008-05-13 Thread David Reynolds
On 13 May 2008, at 9:52 am, Sebastian wrote: > I have checked the Python's datetime in a shell and it returns the > correct time. I have also checked the datetime in a manage.py shell > and it also returns the correct value. Perhaps the timezone isn't set correctly on your server?

Re: where can i download newformsadmin

2008-05-06 Thread David Reynolds
trunk checkout. -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe fr

Re: Grrr, can't import custom template tag

2008-04-28 Thread David Reynolds
ng on Apache, have you restarted it? Have you stopped and started your development server? -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To po

Re: Weblog archive links are bad

2008-04-24 Thread David Reynolds
gt; > I tried to open a trac ticket on this, but it thinks I'm a spammer. Don't bother opening a ticket.. it's because there were no entries in March. -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscri

Re: Two sites, one django project

2008-04-15 Thread David Reynolds
'templates/site1'), ) EMAIL_SUBJECT_PREFIX = '[site1] ' Then when you run the development server for each site or deploy the site you would pass the specific settings file rather than the common one. I hope that makes some sort of sense. -- David Reynolds [EMAIL PROTECTED] --~--~

Re: Cleaning up Word's mess in text areas using tiny_mce

2008-04-10 Thread David Reynolds
, , etc., stripped out. > > This works fine, whether on bad formatting coming from word, or > unwanted formatting done in TinyMCE (BGColor, etc.). > > 1: http://www.gnome.org/~jdub/bzr/planet/2.0/planet/sanitize.py Wow, Both of these answers look v

Re: Cleaning up Word's mess in text areas using tiny_mce

2008-04-09 Thread David Reynolds
t this then means you have to reformat it. -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googl

Re: datetime 8 hours off

2008-04-04 Thread David Reynolds
the date/time when apache is started/restarted (which could be at the same time everyday). Thanks, David -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django use

Re: How do you make a CMS in Django (trying to get the big picture)?

2008-03-26 Thread David Reynolds
really depends on what you want the CMS to do. http://www.pylucid.org/ is a CMS written in django, perhaps you could get some ideas on where to start from that? -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you a

Re: Admin recipes anyone?

2008-03-10 Thread David Reynolds
acky, workaround kind of ways of doing this with the admin system as it currently is, I suspect if wait until newforms- admin hits trunk, it'll be a hell of a lot easier to do any admin customisation you need to do. -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~-

Re: Add a new line in TextField

2008-03-10 Thread David Reynolds
On 9 Mar 2008, at 1:06 pm, Daniel de la Cuesta wrote: > Is there any way to add som html tags in the "TextField? If you want a rich text editor to insert the html for you, you could try TinyMCE http://code.djangoproject.com/wiki/AddWYSIWYGEditor -- David Reynolds [EMAIL P

Re: Help needed (very granular admin permissions)

2008-03-07 Thread David Reynolds
e used to be a branch of django that did per-object permissions [0], which sounds like what you want, however, I don't think it's actively worked on nowadays. You'll probably have to roll your own admin system where you can enforce this the per row permissions. 0 - http://code.djangoproject

Re: Advanced admin interface customization question

2008-03-06 Thread David Reynolds
ich isn't what I want (as there are > several hundred values). > > Is there some easy built-in way to do either or both of these things > that I'm just not aware of? As you say, in trunk currently there is no real way of doing this. I suggest you take a lot at the newforms-admin trunk and see if

Re: Django Filebrowser with FastCGI

2008-02-25 Thread David Reynolds
dsIncompatibleChanges#_nolongerinbuiltins -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googl

Re: mysqldb fails to import after following directions

2008-02-25 Thread David Reynolds
On 23 Feb 2008, at 3:51 am, newbiedoobiedoo wrote: > Am in the process of setting up the mysqldb and it succeeds to install > and build, > however, the import mysqldb test command still fails. How about: import MySQLdb (the case is important) -- David Reynolds [EMAIL

Re: template & forloop help

2008-02-08 Thread David Reynolds
plate? > > {% for div in divs %} > {{ form.name|forloop.counter }} > {% endfor %} > > If i just did it manualy like below it works fine > > {% for div in divs %} > > {% endfor %} > > Any help would be greatly appreciated. Does doing this do what you want?

Re: Extending Django's admin application

2008-02-06 Thread David Reynolds
at will do it, most notable are listed here: http://code.djangoproject.com/wiki/ThumbNails -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" gro

Re: Read-only connection to database. How to?

2008-02-04 Thread David Reynolds
r you can do ./manage.py runserver --settings=yoursite.readonlysettings # for the display side of the site and ./manage.py runserver # for the admin side of the site When you deploy the site you can set up which settings file is used too. -- David Reynolds [EMA

Re: template: how to make use of forloop.counter0

2008-02-04 Thread David Reynolds
On 3 Feb 2008, at 3:32 pm, Michael Hipp wrote: > > Malcolm Tredinnick wrote: >>> Or is there some other way to get at my 'align' list? >> >> Look at the {% cycle %} template tag. It's designed for precisely >> this >> purpose. > > Thank you. But can someone show me how to make 'cycle' work? >

Re: sudo under django or better solutions?

2008-02-01 Thread David Reynolds
able to run system commands. Another approach might be to save any data into the database that you need and then run a cronjob as a sudo privileged user to run the actual system jobs. This will obviously only work well if it's something that can be batched. Thanks, Dav

Re: about dbpaste

2008-01-18 Thread David Reynolds
else. If you're looking for something in particular you could try djangosnippets.org -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

Re: os x tiger macports install postgres81 python25 - py25-psycopg2 python manage.py runserver error

2007-12-19 Thread David Reynolds
b > > So why is the program looking in /usr/local/pgsql/lib/ when the > library is in /opt/local/lib/postgresql81/ ? All of these programs > were installed with MacPorts, so shouldn't they know where each other > reside? You'll need to also do: port install p

Re: Tableless models?

2007-12-13 Thread David Reynolds
less"). This may be a silly point and may not do what you want, but a form (using newforms) is kind of like a model without a database table. -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribe

Re: File upload on external server

2007-12-12 Thread David Reynolds
th... I think the general way that is suggested is to nfs share the folder from the media server to the application folder. I seem to remember it being talked about in the djangobook. Thanks, David -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You rec

Re: Django implementation of AssetPackager, anyone?

2007-12-10 Thread David Reynolds
les on the fly with the correct svn number associate with > it. If there's a python library for compressing javascript files (which I suspect there is) it shouldn't be too difficult to make your own templatetag to do this. Thanks, Dave -- David Reynolds [EMAIL PROTECTED] --~--~-

Re: Template Tag and Javascript Best Practices

2007-11-30 Thread David Reynolds
template tag,like any other template > tag). > > If b) is an ok solution, do you know where to find a sample of doing > so? We tend to make a block tag (called extrahead) in the head section of the base template and then just shove

Re: IRC Channel

2007-11-29 Thread David Reynolds
t be changed unless we go through the > bureaucracy of registering the channel, setting up contact people and > ops and such (which we're working on, but isn't necessarily the top > priority). Rght, now I see :) If you need a contact person or op I'd be happy to help. -- David Reyn

Re: IRC Channel

2007-11-29 Thread David Reynolds
On 29 Nov 2007, at 11:08 am, David Reynolds wrote: > > > On 29 Nov 2007, at 11:01 am, Kenneth Gonsalves wrote: > >> but who locked the topic? It was open before > > This perhaps: > > ./freenode/2007/09/20/#django.log:10:44 -!- mode/#django [+t] by rob Extra c

Re: IRC Channel

2007-11-29 Thread David Reynolds
On 29 Nov 2007, at 11:01 am, Kenneth Gonsalves wrote: > but who locked the topic? It was open before This perhaps: ./freenode/2007/09/20/#django.log:10:44 -!- mode/#django [+t] by rob (pulled from my log files) -- David Reynolds [EMAIL PROTEC

Re: IRC Channel

2007-11-29 Thread David Reynolds
re's no current way to change the topic! -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@google

Re: How to display the euro currency EURO and choose the comma as the decimal separator

2007-11-27 Thread David Reynolds
s are still >>> displayed >>> with the $ symbol. >> >>> On the other hand I have two other questions: >>> 1- how to establish the comma ',' as the decimal separator ? >>> 2- how to display the symbol on the right instead of the left as >>&

IRC Channel

2007-11-27 Thread David Reynolds
-- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this g

Cambridge and East Anglia Python Users Group

2007-11-27 Thread David Reynolds
ng this if you like. > > Cheers, > Richard > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Richard Lewis - UEA, MUS PG > http://www.richard-lewis.me.uk/ > JID: [EMAIL PROTECTED] > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > http://www.thecarltonarms.co.uk/ > http://groups.google.com/group/campug > http://www.

Re: Will there be a django 0.97 release ?

2007-11-10 Thread David Reynolds
the release of the django book, by any chance? ;) -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-u

Re: parsing Django RSS feeds for content reposting

2007-11-08 Thread David Reynolds
log. > > Can someone suggest some script or tool where we can have the > content made available in another web site through some Javascript. Take a look at the magpie library [0] for PHP. 0 - http://magpierss.sourceforge.net/ -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~

Generic relations - reasonable usage?

2007-10-22 Thread David Reynolds
Hi, I have the requirement to have an active/inactive function for all contenttypes in a site I'm working on. Is this a valid usage for a Generic Relationship? If so, any tips as to how I'd go about implementing this? Thanks, David -- David Reynolds [EMAIL PROTECTED

Re: Need help selecting a Django hosting provider

2007-10-18 Thread David Reynolds
ng providers that I should avoid? Another vote for Webfaction - their interfaces makes it very easy to set up django (and lots of other things too). Another option to perhaps consider is to get a VDS and do your own install. Thanks, David -- David Reynolds [EMA

Re: Admin Media on a VServer

2007-10-08 Thread David Reynolds
django/contrib /admin/media/ and then... SetHandler None This is using mod_python, it's a bit different with fastcgi, etc. Hope that helps, David -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &q

Re: Does anyone have an easy way to debug the values in a session?

2007-09-24 Thread David Reynolds
you a print out of the items in the session as a dictionary. You need to use Requestcontext on your views and have 'django.core.context_processors.request' in your TEMPLATE_CONTEXT_PROCESSORS Hope that helps, Dave -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~--

Re: reassessing our Operating System

2007-09-18 Thread David Reynolds
and nfs to edit the files using Textmate. At home, I just use OS X. Hope that's of some help. -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To po

Re: Django deployment à lá Capistrano

2007-09-10 Thread David Reynolds
uot;my tool's superior to > tool > X". I'm just letting the community know. Anyone to join my efforts? > Gorgeous. Not? I'd love this kind of tool anyways. I'd be doing it > alone, if that's the only way. Fair enough, good luck to you. I look forward to seeing the results

Re: Django deployment à lá Capistrano

2007-09-10 Thread David Reynolds
ll of these ideas into one big django-addon would > be a > gorgeous idea for all of us. Not only rails is fun! I agree that the community will benefit from the tool, I just think that perhaps it's silly to reinvent the wheel, but that's just my 2¢ Thanks, Dave -- David Reynolds [EMAIL

Re: using querysets to populate a form

2007-09-07 Thread David Reynolds
also the actual dataset won't be that big. It'll be a distinct query on a huge set of data and I don't want that huge hit every time someone loads the form. I think I'll go for the caching idea, as you suggested. Thanks, David -- David Reynolds [EMAIL PROTEC

Re: Apache + Django - syntax error

2007-09-06 Thread David Reynolds
On 6 Sep 2007, at 11:06 am, b3n wrote: > I wasn't sure if the syntax was different for Unix/Windows. I think it > would be helpful if the tutorial made a statement to that effect. Surely not saying anything implies that there are no differences between the two? -- David Reynolds

Re: using querysets to populate a form

2007-09-04 Thread David Reynolds
No one have any ideas? Thanks, Dave On 3 Sep 2007, at 12:51 pm, David Reynolds wrote: > > Hi, > > I have a requirement to use querysets as choices in various elements > of a form, and as the data grows this is clearly going to have a big > hit on the database every time t

using querysets to populate a form

2007-09-03 Thread David Reynolds
it every so often? Has anyone done anything similar? Any ideas greatly welcomed. Thanks, David -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Making the django documentation available from the admin documentation site

2007-08-23 Thread David Reynolds
On 23 Aug 2007, at 5:06 pm, Christian Joergensen wrote: > Great, thanks. :) > > Regards, Don't thank me, thank Chris ;) Thanks, -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: Making the django documentation available from the admin documentation site

2007-08-23 Thread David Reynolds
Christian Joergensen | Linux, programming or web consultancy > http://www.razor.dk | Visit us at: http://www.gmta.info > -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &qu

Re: mod_python/django problems

2007-08-06 Thread David Reynolds
unrelated sites with totally different domain names? They all have: and none of them have wildcarded domain names. It has been www.customerdomain1.tld that has appeared on www.customerdomain2.tld Thanks, David -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic

Re: mod_python/django problems

2007-08-04 Thread David Reynolds
only gone away after a restart of apache. -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

Re: django app for managing sending email to users...

2007-08-04 Thread David Reynolds
this useful a *lot* for work, so I would be very happy to help, if necessary. Thanks, Dave -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

Re: mod_python/django problems

2007-08-03 Thread David Reynolds
und 30 and have noticed the problems you've mentioned.. Thanks, Dave -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

Re: loading fixtures: no error, no data

2007-08-01 Thread David Reynolds
ferred to in the other one's settings file? Thanks, Dave -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

Re: a rather big, new django site:

2007-07-30 Thread David Reynolds
and running! :-) Not working as of 9:21am GMT. I'm getting a Forbidden, You don't have permission to access / on this server. Thanks, David -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

Re: Generating charts with ReportLab

2007-07-30 Thread David Reynolds
If anyone is interested in a sample for a Pie or Scatter chart, let me know, and I can add samples of these as well. I would say, go ahead and add them, as I'm sure many people will find them useful at some point. Thanks, David -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME

Re: mod_python, multiple django-sites, memory usage

2007-07-24 Thread David Reynolds
the more sites we get, the worse this problem will get and it may be wise for us to look into using mod_fastcgi in future. Does anyone have any experience of using fastcgi with 30 odd sites? Thanks, David -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic

Re: Blog engine

2007-07-23 Thread David Reynolds
(I did this for Magnolia recently.) http://code.google.com/p/jellyroll/ Pretty sure I mentioned most of these earlier in the thread... -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

Re: Bulk data upload

2007-07-18 Thread David Reynolds
y, but how do I automagically assign the images with the product, having in mind that some might have 5 pics and others might have 2 or none. What about CSV? You can export from Excel as CSV pretty easily and it's a fairly easy format to parse in python... Thanks, Dave -- David Reyno

Re: Blog engine

2007-07-17 Thread David Reynolds
[0] has spam protection and moderation. RSS feeds are easily done within Django [1] Next? 0 - http://www.b-list.org/weblog/2007/06/25/hacking-comments-without- hacking-comments 1 - http://www.djangoproject.com/documentation/syndication_feeds/ -- David Reynolds [EMAIL PROTECTED

Re: Blog engine

2007-07-17 Thread David Reynolds
generic date views [1] and you're pretty much there. Seems like such a good first project to write in Django as well 0 - http://code.google.com/p/django-tagging/ 1 - http://www.djangoproject.com/documentation/generic_views/#date- based-generic-views -- David Reynolds [EMAIL PROTECTED

Re: function to generate choices list

2007-07-10 Thread David Reynolds
-- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

function to generate choices list

2007-07-06 Thread David Reynolds
, please have any idea how I could do this? Thanks, Dave -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

Re: Unicode branch merged into trunk

2007-07-04 Thread David Reynolds
-- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

Re: Apache auth

2007-06-25 Thread David Reynolds
d. Thanks, Dave -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

Re: Apache auth

2007-06-22 Thread David Reynolds
it into trunk. Can I ask what mod_python/apache versions you are using? I can fairly consistently get this error, however I have to replace: SetHandler python-program with: SetHandler none or else I get a 404 from django. Perhaps I am missing something? Thanks, Dave -- David Reynolds

Re: too many connections django 0.96 does not close connections

2007-06-20 Thread David Reynolds
or socket connections ( DISCLAIMER: I read this on experts exchange ). Hope that helps a bit, thanks, David -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

Re: Mysql sleeping queries

2007-06-20 Thread David Reynolds
done some testing and it does seem to appear in 5482, as Malcolm suggested. 5481 is fine, 5482 starts the hanging mysql processes. Hope that helps, David -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

Apache auth

2007-06-19 Thread David Reynolds
odpython.py", line 2, in ? from django.core.handlers.base import BaseHandler ImportError: No module named django.core.handlers.base Anyone have any ideas why this might be happening? Thanks, David [0 - http://www.djangosnippets.org/snippets/62/] -- David Reynolds [EMAIL PROTECTED] smi

Re: Mysql sleeping queries

2007-06-19 Thread David Reynolds
this? Thanks for your help, David -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

Re: Mysql sleeping queries

2007-06-19 Thread David Reynolds
On 19 Jun 2007, at 6:56 am, Gábor Farkas wrote: hi, i have no idea what went wrong, but to the developers it certainly would help, if you could find out exactly which revision broke the mysql behaviour. Difficult to tell since we hadn't svn up'd for a while... -- David Reynolds [EMAIL

Mysql sleeping queries

2007-06-18 Thread David Reynolds
be doing this? Versions: apache 2.0.54 mysql 4.0.24 mysqldb 1.2.1c2-1 If anyone can shed any light, I'd be very interested to know. Thanks, David -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

Re: Hosting for Django

2007-06-15 Thread David Reynolds
group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users- [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/ group/django-users?hl=en -~--~----~~----~--~~--~--~--- -- David Reynolds [EMAIL PROTECTE

  1   2   >