Re: file read/write location

2010-10-16 Thread jimgardener
I was writing a lot of wep page content to the files for later comparison.So I thought ,writing to file was better than writing to db.. thanks jim > Also, if you dont mind me asking, why not just use the database for > recording and retrieving data, thats whats its there for. > > Rob :) -- You r

Re: Admin "Bulk Edit"?

2010-10-16 Thread ringemup
Does the list_editable feature not cover your use case? On Oct 16, 6:25 pm, Ted wrote: > Is there a way to enable bulk editing in the admin?  I'm looking for a > feature like PHPmyadmin's multiple record edit - click the boxes for > the items then they show up on the next page one after the other

Admin "Bulk Edit"?

2010-10-16 Thread Ted
Is there a way to enable bulk editing in the admin? I'm looking for a feature like PHPmyadmin's multiple record edit - click the boxes for the items then they show up on the next page one after the other with a save button at the bottom of the page. This question is really three: 1) Is there a de

MultiFileInput widget

2010-10-16 Thread alecx
Hi, I have only a few weeks django/web experience and currently struggling with a specific problem. I dont know how to solve it. and therefore I ask you experts. I have an Itemform (ModelForm) with a fileupload field. But I want to upload multiple files with multifileinput (djangosnippet:583). Can

Re: Database Setup

2010-10-16 Thread Karen Tracey
2010/10/16 Jonathan Barratt > Hope you have visual studio installed! :p If you do not, or if you do not want to go to the trouble of building MySQLdb from source, it is usually possible to find Windows binary packages for MySQLdb by searching Google with terms like: mysqldb windows binaries py

Looking for a developer [Part-time,Remote]

2010-10-16 Thread Alexander Nikitin
Hi, I am working full-time as a freelancer and I am looking for colleague to work with on my projects. Requirements: - should have some Python, SQL, Javascript experience - experience using Python web frameworks (Pylons, Django, etc.) - knowledge of Mongo DB is a plus If anyone is interested, p

Re: Database Setup

2010-10-16 Thread Jonathan Barratt
On 17 ?.?. 2010, at 0:03, Everett wrote: > Ok...I'm confused nowdo I have to build the bindings or just copy > them into the site-packages directory? I'm not sure this advice: >> I recall having a similar problem. Get the MySQL bindings appropriate to >> your Python version below and instal

Re: Django admin, dynamic list_display. some kind of caching?

2010-10-16 Thread Daniel Roseman
On Oct 16, 12:57 pm, lipt0n wrote: > Hi, > I'm trying to make a list_display dynamically from other model. > > it looks like that: > models: > > class Headers(models.Model): >     name = models.IntegerField() >     active = models.BooleanField() > class Table(models.Model): >     p1  =   models.Te

Re: Database Setup

2010-10-16 Thread Everett
Ok...I'm confused nowdo I have to build the bindings or just copy them into the site-packages directory? On Oct 14, 4:26 am, Sithembewena Lloyd Dube wrote: > I recall having a similar problem. Get the MySQL bindings appropriate to > your Python version below and install to your site-packages

how safe is the template engine

2010-10-16 Thread Henrik Genssen
Hi, can I safely use the template engine to produce user configured output? If I use the template engine like it is done in the RSSFeed: title_tmp = Template('{% load i18n %}' + userInput) ctx = Context({'dstart': date.dstart, where userInput is something a user can fill in. So far, the onl

Re: file read/write location

2010-10-16 Thread Robbington
Hi Jim, I would assume that Django writes and reads files to myproject because in its mind it is the top level directory for your project environment. To Django + python nothing else really exsists. If that makes sense? Also, if you dont mind me asking, why not just use the database for recording

Django admin, dynamic list_display. some kind of caching?

2010-10-16 Thread lipt0n
Hi, I'm trying to make a list_display dynamically from other model. it looks like that: models: class Headers(models.Model): name = models.IntegerField() active = models.BooleanField() class Table(models.Model): p1 = models.TextField(null=True, blank=True) p2 = models.TextFi

file read/write location

2010-10-16 Thread jimgardener
hi I have a django project at /home/dev/python/django/myproject .In an app in this project I have some utility programs which has a file writing function. myproject/myapp/utilities/filewritingutility.py def write_to_file(filename,data): with open(filename,'w') as f: f.write(