Re: problem with Django

2007-11-07 Thread Graham Dumpleton
Check the file and directory permissions like suggested when you were first trying to setup your site, this time looking at any new files and directories you have added within your site area. They should have permissions so they are readable to Apache. Graham On Nov 8, 6:32 pm, stranger <[EMAIL

Re: problem with Django

2007-11-07 Thread Graham Dumpleton
Go and read the mod_python documentation again. In particular: """An example might make this clearer. Suppose you have some applications under /usr/local/django-apps/ (for example, /usr/local/ django-apps/weblog/ and so forth), your settings file is at /var/www/ mysite/settings.py and you have

Re: problem with Django

2007-11-07 Thread stranger
Hello, I did the linking as you said: ln -s /home/priya/projects/crimemap /usr/lib/python2.5/site-packages/ crimemap Also I restarted Apache, but nno change ImproperlyConfigured at /crime/arson/ Error while importing URLconf 'crimemap.urls': name 'crimemap' is not defined Request Method:

webhostingbuzz, anyone tried

2007-11-07 Thread [EMAIL PROTECTED]
Hi guys. These guys seem to have very tempting packages. They say they support django. What I'd like to know is what kind of support? Do I have to install it on my home folder, or is it preinstalled on their servers? Second thing I wanted to ask about, is the speed. My current account goes really

Re: problem with Django

2007-11-07 Thread Kenneth Gonsalves
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,

Re: problem with Django

2007-11-07 Thread stranger
Can you please tell me how to put crimemap on path. What is sym- linking? Can you explain briefly? thanks a lot for the help.. On Nov 7, 11:02 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 08-Nov-07, at 12:23 PM, stranger wrote: > > > crimemap is the name of the project. and the bottom

Re: problem with Django

2007-11-07 Thread Kenneth Gonsalves
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

Re: problem with Django

2007-11-07 Thread stranger
Hi Kenneth, The page is not displaying any error message but it says "projectname".urls is no not defined. Error while importing URLconf 'crimemap.urls': name 'crimemap' is not defined crimemap is the name of the project. and the bottom part of the page shows the META and SETTINGS.

Re: Splitting models.py into a package

2007-11-07 Thread Darryl Ross
Hi Daniel, > class Foo(models.Model) > some_field = models.CharField(max_length=200) > class Meta: > app_label = 'app' Thanks for that, as soon as I added the app_label to the Meta class it started working. Regards -D signature.asc Description: OpenPGP digital signature

Re: problem with Django

2007-11-07 Thread Kenneth Gonsalves
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

Re: Splitting models.py into a package

2007-11-07 Thread [EMAIL PROTECTED]
On Nov 7, 8:41 pm, Darryl Ross <[EMAIL PROTECTED]> wrote: > Note: Resending as this hasn't shown up on the list after 3 hours. > Appologies if it does decide to make an appearance. > > Hey All, > > I have an app that has quite a few models in it, so I am trying to split > it out into a

query set from ModelMultipleChoice

2007-11-07 Thread Carl Karsten
This works, but there has to be a better way: class blastSettings(forms.Form): users = forms.ModelMultipleChoiceField(queryset=User.objects.all() u=x.cleaned_data['users'] users = User.objects.filter(id__in=[x.id for x in u]).values() body_template=Template(message.body) for user in users:

Splitting models.py into a package

2007-11-07 Thread Darryl Ross
Note: Resending as this hasn't shown up on the list after 3 hours. Appologies if it does decide to make an appearance. Hey All, I have an app that has quite a few models in it, so I am trying to split it out into a package, but when I do the models do not show up in the admin interface

Re: Using auth in model

2007-11-07 Thread Arnold Chen
My question above can be simplified as "how to get logged-in user with request parameter" On Nov 8, 12:32 pm, Arnold Chen <[EMAIL PROTECTED]> wrote: > I want to let users to create their own profile in django admin. And > when they save any new records, use their logged-in user id >

Using auth in model

2007-11-07 Thread Arnold Chen
I want to let users to create their own profile in django admin. And when they save any new records, use their logged-in user id (models.ForeignKey(User)) and override the save() function of the model. Is there any statement that i can use? i believe it should be something like auth.user thanks

Re: spam

2007-11-07 Thread Tom Badran
Ouch, thats pretty nasty. I'm dilligently spam reporting everything that gets through though, so hopefully there will be a tipping point for the spammers where we are beating them. Tom On 11/8/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > > On Nov 8, 2007 10:00 AM, Don Arbow <[EMAIL

Re: Session variables without a database

2007-11-07 Thread [EMAIL PROTECTED]
Thanks... On Nov 7, 8:15 pm, "@@" <[EMAIL PROTECTED]> wrote: > Configuring the session engine > > *New in development version*. > > By default, Django stores sessions in your database (using the model > django.contrib.sessions.models.Session). Though this is convenient, in some > setups it's

Splitting models.py into a package

2007-11-07 Thread Darryl Ross
Hey All, I have an app that has quite a few models in it, so I am trying to split it out into a package, but when I do the models do not show up in the admin interface and running 'manage.py sqlall app' does not show any SQL statements for creating the tables. Is there a trick to doing this?

Re: spam

2007-11-07 Thread Russell Keith-Magee
On Nov 8, 2007 10:00 AM, Don Arbow <[EMAIL PROTECTED]> wrote: > > > On Nov 7, 2007, at 4:45 PM, Don Arbow wrote: > >> > >> I usually go to the Google Groups web site for this and the dev > >> group. There is a link in each message that you can use to report > >> it as spam. I find that Google

Re: Session variables without a database

2007-11-07 Thread @@
Configuring the session engine *New in development version*. By default, Django stores sessions in your database (using the model django.contrib.sessions.models.Session). Though this is convenient, in some setups it's faster to store session data elsewhere, so Django can be configured to store

Re: spam

2007-11-07 Thread Don Arbow
> On Nov 7, 2007, at 4:45 PM, Don Arbow wrote: >> >> I usually go to the Google Groups web site for this and the dev >> group. There is a link in each message that you can use to report >> it as spam. I find that Google seems to be pretty quick to ban a >> specific user who is spam bombing

Session variables without a database

2007-11-07 Thread [EMAIL PROTECTED]
I need to put together a small site for some demos...I don't need a database as I'm getting my data via some API calls, but wanted to use Django templates. I had wanted to store this data in a session variable ( the API calls can take a while)... I thought I remembered reading somewhere it

Re: spam

2007-11-07 Thread Don Arbow
On Nov 7, 2007, at 2:08 PM, Todd O'Bryan wrote: > > Does anyone know if those of us with gmail clicking the Report Spam > button connects back to Google Groups, or are we just protecting > ourselves? I usually go to the Google Groups web site for this and the dev group. There is a link in

computer tripleblaze020-usys-Intel(R) Core™2 Duo

2007-11-07 Thread Hot Download
The Intel(R) Core™2 Duo desktop processor delivers revolutionary dual-core performance andbreakthrough processor energy efficiency. Based on the revolutionary Intel(R) Core™ Microarchitecture, the Intel Core 2 Duo processor has been developed for

Re: Multiple Database Support

2007-11-07 Thread Josh
I thought this *was* the last one that was asked :) On Nov 7, 4:01 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On Nov 8, 2007 7:00 AM, Josh <[EMAIL PROTECTED]> wrote: > > > > > Hi! > > > Has there been any more progress toward getting themultipledatabase > > branch merged into trunk?

how to set mysql collation in django?

2007-11-07 Thread Anton Daneika
hello all, i need something like TEST_DATABASE_COLLATION, but in a normal django code -- not in the tests. i am running the same script in two environments: as a part of unit test and on it's own and get different results. i suspect the reason for getting different results is django's way of

Re: Multiple Database Support

2007-11-07 Thread Josh
Hi! Has there been any more progress toward getting the multiple database branch merged into trunk? I, among many others, would really like to be able to use the newer features of django and access multiple databases from the same project... Thanks! Josh On Oct 17, 12:03 am, koenb <[EMAIL

Re: spam

2007-11-07 Thread Jacob Kaplan-Moss
Hi folks -- I'm a bit late to this discussion; sorry! There actually is something you can do to help out with spam on this list: become a moderator, and give spammers the boot. I'll happily make you into a moderator if you're someone whose name I recognize as someone with proven history on

Just launched a pretty big new Django site @ revver.com

2007-11-07 Thread [EMAIL PROTECTED]
Hi all - I don't think i've actually posted to the list, but reading the archives has really helped make my Django development process go smoothly, so I owe you all a debt of gratitude for various bits of knowledge gleaned during the development process of my company's web app at

Re: Checking for duplicate with newforms

2007-11-07 Thread Jonathan Buchanan
[EMAIL PROTECTED] wrote: > > > On Nov 7, 1:53 pm, Jonathan Buchanan <[EMAIL PROTECTED]> > wrote: >> [EMAIL PROTECTED] wrote: >>> Here's what I've done: >>> if request.method == 'POST': >>> submission = request.POST.copy() >>> submission['slug'] = slugify(submission['name']) >>>

Re: TemplateDoesNotExis, but actually it exist

2007-11-07 Thread Joe
Sounds like some sort of user access problem - like the www-data (default for ubuntu) user that Apache runs with can't access that directory or read that file. Odd that your users can access the page though. J On Nov 6, 8:40 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I have a website,

Re: Checking for duplicate with newforms

2007-11-07 Thread [EMAIL PROTECTED]
On Nov 7, 1:53 pm, Jonathan Buchanan <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Here's what I've done: > > > if request.method == 'POST': > > submission = request.POST.copy() > > submission['slug'] = slugify(submission['name']) > > form =

Re: Checking for duplicate with newforms

2007-11-07 Thread Jonathan Buchanan
[EMAIL PROTECTED] wrote: > Here's what I've done: > > if request.method == 'POST': > submission = request.POST.copy() > submission['slug'] = slugify(submission['name']) > form = ClubFormClass(submission) > if Club.objects.get(slug=submission['slug']): >

Re: YAFU: Yet Another File Upload app...

2007-11-07 Thread Eugene Morozov
Hello, Thanks for your contribution. There's a similar functionality in Django Trac #2070 and #4165. #2070 contains patch with an implementation of streaming file uploads. This seems to be working. #4165 contains middleware and javascript that implement file upload progress monitoring for the

Re: Get PK value in Field class after saving

2007-11-07 Thread Marty Alchin
On 11/6/07, Frank 7200 <[EMAIL PROTECTED]> wrote: > I have a Field class for attachments and I would like to rename the > attachment after upload. This class inherits from models.ImageField. > > The problem is that in field method save_file() and _save() all values > pointing to ID are None. >

Re: Checking for duplicate with newforms

2007-11-07 Thread [EMAIL PROTECTED]
Here's what I've done: if request.method == 'POST': submission = request.POST.copy() submission['slug'] = slugify(submission['name']) form = ClubFormClass(submission) if Club.objects.get(slug=submission['slug']): form.errors['name'] = 'Club is already in

Re: Design Question : model needs in model or view

2007-11-07 Thread John M
Wow, that was quick, 3min response! Thanks. Yea, thats what I was thinking. Trying to be very DRY. John On Nov 7, 10:44 am, Kyle Fox <[EMAIL PROTECTED]> wrote: > I'd probably put it in the model. > > Putting it in the view means if you ever create an instance of that > model elsewhere,

Re: Design Question : model needs in model or view

2007-11-07 Thread Kyle Fox
I'd probably put it in the model. Putting it in the view means if you ever create an instance of that model elsewhere, you'll need to duplicate the code for creating the related model. Not very DRY :) --~--~-~--~~~---~--~~ You received this message because you

Design Question : model needs in model or view

2007-11-07 Thread John M
I have a model that has a 1-1 model attached to it. This attached model has mostly default values that will be referenced later. My question is, should I put the creation of the 1-1 model in the SAVE() method of the main object, or in the view where it's created? seems like putting it in the

Re: form_for_instance and form argument, empty form?

2007-11-07 Thread Marty Alchin
Sorry folks, there was a bit of confusion with this thread, having started out on django-developers. GMail didn't seem to think I really wanted it to go to django-users instead, so I only just noticed it had continued on django-developers. If you're interested in what's going on, check the

Checking for duplicate with newforms

2007-11-07 Thread [EMAIL PROTECTED]
I have a public-facing form where registered users can submit clubs. Later, I access the data by slug, using a generic object_detail view. My problem is that someone can input a club that's already there. Besides polluting the database, it breaks when they try to access the club's page (GET

Re: name 'django' is not defined

2007-11-07 Thread Marty Alchin
On 11/7/07, Florian Lindner <[EMAIL PROTECTED]> wrote: > (r"^newComment/$", django.views.generic.create_update.create_object, > dict(model=BlogComment)) Just as I suspected. You need quotes around 'django.views.generic.create_update.create_object' here. It's looking for an object named

context_instance needs documenting on the same page as render_to_response?

2007-11-07 Thread AndyB
Just read James Bennett's excellent article here: http://www.b-list.org/weblog/2007/nov/01/django-tips-template-loading-and-rendering/ In it he mentioned request_context and the context_instance parameter to render_to_response and mentions that many people he talks to don't know of it's

Re: name 'django' is not defined

2007-11-07 Thread Florian Lindner
Am Mittwoch, 7. November 2007 schrieb Marty Alchin: > On 11/7/07, Florian Lindner <[EMAIL PROTECTED]> wrote: > > But why does the root urls.py works that also contains the line > > > > from django.conf.urls.defaults import * > > > > or the manage.py script or another installed app in the same

YAFU: Yet Another File Upload app...

2007-11-07 Thread Dustin Lang
Hi, It didn't seem like any of the current Django file upload apps provided exactly the functionality I needed, so I hacked my own. If the community is interested, I can try to polish it a bit and contribute it. We deal with large uploads - up to hundreds of megabytes - so I wanted the

Re: AUTH_PROFILE_MODULE usable with v0.96?

2007-11-07 Thread RajeshD
On Nov 7, 6:46 am, paulc <[EMAIL PROTECTED]> wrote: > I'm trying to follow the example in the Django book, to make a simple > extension of the standard User object. > > I'm hoping someone may be able to give me a quick yes or no on this: > is the AUTH_PROFILE_MODULE setting expected to work

Re: AUTH_PROFILE_MODULE usable with v0.96?

2007-11-07 Thread paulc
Problem solved: I've confirmed for myself that AUTH_MODULE_PROFILE does indeed work with Django v0.96 On Nov 7, 11:46 am, paulc <[EMAIL PROTECTED]> wrote: > I'm trying to follow the example in the Django book, to make a simple > extension of the standard User object. > > I'm hoping someone

Re: site is built with django, but my server doesn't know that...

2007-11-07 Thread RajeshD
> Here is what I do and > what it all looks like: > > log in as [EMAIL PROTECTED] > > [EMAIL PROTECTED]:~# python > Python 2.5.1, Ubuntu 4.1.2 etc. etc. > > So Python is installed and I've opened the interpreter, right? > > Then this: > > >>> import django [to verify that django is installed] > >

Re: name 'django' is not defined

2007-11-07 Thread Marty Alchin
On 11/7/07, Florian Lindner <[EMAIL PROTECTED]> wrote: > But why does the root urls.py works that also contains the line > > from django.conf.urls.defaults import * > > or the manage.py script or another installed app in the same project > directory? If you post the whole contents of the

Re: Does anyone know a good method for creating one time pages with Django?

2007-11-07 Thread Marty Alchin
On 11/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have to initially go live with this on Sunday (madness) but your > project sounds really interesting. Definately something I would be > interested in following. Do you have a message list for it or should I > keep an eye on the google

Re: Does anyone know a good method for creating one time pages with Django?

2007-11-07 Thread RajeshD
On Nov 7, 10:11 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Thanks, flat pages look really useful. > > Unfortunately I don't think they solve my problem here - the rest of > the page needs to be dynamic and driven by custom content; it's only a > subset of the page elements that I want

site is built with django, but my server doesn't know that...

2007-11-07 Thread erica g
I have very basic experience with Django templating and creating models and apps. The developer who built my site is gone and I am trying to sort things out. I know our site runs on Django. I used to have Django installed on my own machine and did all of my mini- development work there (like

Re: Start development: which branch?

2007-11-07 Thread Tim Chase
> Should I use trunk for development? Or is there any branch > better for development? (with regard to the introduction of > newforms) I think the general rule of thumb is: If you absolutely must have a stable API, and don't need anything more than what 0.96 offers (lots of new features and

Re: Does anyone know a good method for creating one time pages with Django?

2007-11-07 Thread [EMAIL PROTECTED]
Hey Marty, That also sounds really interesting - although Flatpages didn't solve my problem I actually realised it solved something else I was working on and they are now part of my site (Thanks Rajesh!). I have to initially go live with this on Sunday (madness) but your project sounds really

Re: Using GeoDjango features with current trunk?

2007-11-07 Thread David Hancock
On Nov 6, 9:17 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > ... > So anybody who's staying away from the GIS branch because of some > perception that it's less stable than trunk and they can do a better job > locally should re-evaluate. Trunk maintainers (well, at least one of > them) are

Re: form_for_instance and form argument, empty form?

2007-11-07 Thread RajeshD
> > > Paste here your FooForm and Foo model code that doesn't work for you. > > class Foo(models.Model): > title = models.CharField(_("Title"), core=True, maxlength=100) > > class FooForm(forms.Form): > title = forms.CharField(label = _("Title")) Now, I am more confused about your actual

Re: Does anyone know a good method for creating one time pages with Django?

2007-11-07 Thread [EMAIL PROTECTED]
Thanks, flat pages look really useful. Unfortunately I don't think they solve my problem here - the rest of the page needs to be dynamic and driven by custom content; it's only a subset of the page elements that I want to be static in this way. I suppose what I'm looking for is a kind of

Re: Does anyone know a good method for creating one time pages with Django?

2007-11-07 Thread Marty Alchin
On 11/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Unfortunately I don't think they solve my problem here - the rest of > the page needs to be dynamic and driven by custom content; it's only a > subset of the page elements that I want to be static in this way. I > suppose what I'm looking

Re: form_for_instance and form argument, empty form?

2007-11-07 Thread David Larlet
RajeshD a écrit : > > On Nov 7, 9:42 am, David Larlet <[EMAIL PROTECTED]> wrote: > >> I thought that it was more appropriated to post it on the devlist >> because it sounds like a bug but ok let's move it on the userlist, sorry >> for the noise here. I'll be glad to hear your solution. >>

Re: django used in another server application

2007-11-07 Thread schlam
Thanks, this seems to be just what Io wanted. On Nov 7, 12:00 pm, Brot <[EMAIL PROTECTED]> wrote: > Hello, > > I think this link could be useful for > youhttp://www.cotellese.net/2007/09/27/running-external-scripts-against-... > > Regards > Bernd > > On 7 Nov., 12:21, schlam <[EMAIL

Re: name 'django' is not defined

2007-11-07 Thread Thomas Guettler
Am Mittwoch, 7. November 2007 15:41 schrieb Florian Lindner: > Hello, > I'm using Django trunk. > > After some weeks of paused development I started my app again today. But as > soon as I access the URL defined at the root urls.py: > > (r"^blog/", include("xgm.Blog.urls")), > > I get an error: >

name 'django' is not defined

2007-11-07 Thread Florian Lindner
Hello, I'm using Django trunk. After some weeks of paused development I started my app again today. But as soon as I access the URL defined at the root urls.py: (r"^blog/", include("xgm.Blog.urls")), I get an error: Error while importing URLconf 'xgm.Blog.urls': name 'django' is not defined

IF you want earning easy money click on the link below!

2007-11-07 Thread Riaz Muhammad
http://www.freewebs.com/homebusiness1 --~--~-~--~~~---~--~~ 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 group, send

Re: form_for_instance and form argument, empty form?

2007-11-07 Thread RajeshD
On Nov 7, 9:42 am, David Larlet <[EMAIL PROTECTED]> wrote: > I thought that it was more appropriated to post it on the devlist > because it sounds like a bug but ok let's move it on the userlist, sorry > for the noise here. I'll be glad to hear your solution. Paste here your FooForm and Foo

Re: Does anyone know a good method for creating one time pages with Django?

2007-11-07 Thread RajeshD
> However this seems messy > and I feel like I'm working against Django. Is there a better way of > doing it? Consider using "flatpages": http://www.djangoproject.com/documentation/flatpages/ --~--~-~--~~~---~--~~ You received this message because you are

Earn Money Online! No Registration Fees. Guaranteed Payments.

2007-11-07 Thread Riaz Muhammad
http://www.moneycosmos.com/?r=321740 --~--~-~--~~~---~--~~ 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 group, send email

Does anyone know a good method for creating one time pages with Django?

2007-11-07 Thread [EMAIL PROTECTED]
Hi, Could anyone recommed a good method for creating one time pages with Django. What I want to do is create something like a homepage class that would contain things like the message of the day. However I only want ever want one copy of the homepage - I don't want the user to be able to create

Re: form_for_instance and form argument, empty form?

2007-11-07 Thread David Larlet
I thought that it was more appropriated to post it on the devlist because it sounds like a bug but ok let's move it on the userlist, sorry for the noise here. I'll be glad to hear your solution. David Marty Alchin a écrit : > This should probably be asked on django-users, as it's more about

Re: name 'django' is not defined

2007-11-07 Thread Florian Lindner
Am Mittwoch, 7. November 2007 schrieb Thomas Guettler: > Am Mittwoch, 7. November 2007 15:41 schrieb Florian Lindner: > > Hello, > > I'm using Django trunk. > > > > After some weeks of paused development I started my app again today. But > > as soon as I access the URL defined at the root

Re: Overriding Default Primary Key Type?

2007-11-07 Thread gordyt
Malcolm thanks very much. This is a great idea: > You can't change the underlying data type for the automatically > generated primary key without changing Django's source. > > So your choices are either to write a custom field or, more easily, > manually alter the type of the primary key column

Re: django used in another server application

2007-11-07 Thread Brot
Hello, I think this link could be useful for you http://www.cotellese.net/2007/09/27/running-external-scripts-against-django-models/ Regards Bernd On 7 Nov., 12:21, schlam <[EMAIL PROTECTED]> wrote: > I am am trying to write a server to communicate with a bit of hardware > in python which

Re: Start development: which branch?

2007-11-07 Thread Thomas Guettler
Am Mittwoch, 7. November 2007 12:25 schrieb Florian Lindner: > Hello, > I'm just about to start a project with Django (which will also be for > learning Django). > > Should I use trunk for development? Or is there any branch better for > development? (with regard to the introduction of newforms)

Re: Start development: which branch?

2007-11-07 Thread Dan Fairs
> > Should I use trunk for development? Or is there any branch better for > development? (with regard to the introduction of newforms) I've had considerable success with trunk. YMMV :) Cheers, Dan -- Dan Fairs <[EMAIL PROTECTED]> --~--~-~--~~~---~--~~ You

AUTH_PROFILE_MODULE usable with v0.96?

2007-11-07 Thread paulc
I'm trying to follow the example in the Django book, to make a simple extension of the standard User object. I'm hoping someone may be able to give me a quick yes or no on this: is the AUTH_PROFILE_MODULE setting expected to work with Django 0.96, or do I need to upgrade to the SVN release?

Start development: which branch?

2007-11-07 Thread Florian Lindner
Hello, I'm just about to start a project with Django (which will also be for learning Django). Should I use trunk for development? Or is there any branch better for development? (with regard to the introduction of newforms) Thanks, Florian

Re: newforms: how to validate form_for_model ?

2007-11-07 Thread Thomas Guettler
Am Mittwoch, 7. November 2007 12:02 schrieb parabol: > Hi, > I have a form class which is generated with form_for_model. How can I > write my custom validator? I think I should set a clean() method for > that class. Is it reasonable to say that; > > fom1.clean= def clean You could set the

django used in another server application

2007-11-07 Thread schlam
I am am trying to write a server to communicate with a bit of hardware in python which will want to communicate with my django project database. Obviously I can use sqlobject to connect to the database but is there a way I can incorporate django into my server to connect to the database and use

django used in another server application

2007-11-07 Thread schlam
I am am trying to write a server to communicate with a bit of hardware in python which will want to communicate with my django project database. Obviously I can use sqlobject to connect to the database but is there a way I can incorporate django into my server to connect to the database and use

Using MultiWidget

2007-11-07 Thread PlanarPlatypus
Hi, I am trying to write a request Tracking system using the following models (Re-ordered and some fields removed for clarity) class Request(models.Model): packages=models.ManyToManyField(Package) class Package(models.Model): product=models.ForeignKey(Product)

newforms: how to validate form_for_model ?

2007-11-07 Thread parabol
Hi, I have a form class which is generated with form_for_model. How can I write my custom validator? I think I should set a clean() method for that class. Is it reasonable to say that; fom1.clean= def clean fkoksal --~--~-~--~~~---~--~~ You received this