Admin interface for DB model classes defined outside application doesn't work ?

2006-08-08 Thread ak
Hello guys Today I discovered a strange problem which may be caused by my misunderstanding or by a bug in django and i would like to shed some light on it with your help. I have models package `mycompany.models` where are defined all the models for all our apps. Same classes are used in a few ap

Re: Using custom forms with generic views

2006-08-08 Thread Gábor Farkas
jeffmikels wrote: > Thanks for your help. I ended up creating a view to do the work. If the > data is simple enough and just plain text, is there a compelling reason > to use AddManipulator or other manipulators instead of just > object.save()? > > hi, for example, if you want to validate that

Re: Using custom forms with generic views

2006-08-08 Thread Ian Holsman
another alternative you may want to consider is to piggybak ontop of  the generic viewhave a look at http://svn.zyons.python-hosting.com/trunk/zilbo/common/utils/views/create_update.py for a examplewhich adds a 'change_user' and 'last_change' fieldseg.    if request.POST:        new_data = request.

Re: MySQL UnicodeEncodeError

2006-08-08 Thread Gábor Farkas
Niran Babalola wrote: > I've been developing a Django application using SQLite, and now I'm > trying to move over to MySQL and actually launch the site. The > application is storing data from RSS/Atom feeds using Universal Feed > Parser, which uses unicode strings for all its data. When I try to >

Re: Admin interface for DB model classes defined outside application doesn't work ?

2006-08-08 Thread Malcolm Tredinnick
On Tue, 2006-08-08 at 00:37 -0700, ak wrote: > Hello guys > > Today I discovered a strange problem which may be caused by my > misunderstanding or by a bug in django and i would like to shed some > light on it with your help. I think you are misunderstanding how the admin application interacts w

Re: Contacts application

2006-08-08 Thread Aidas Bendoraitis
Have a look at Django e-commerce package called Satchmo. Here are some models that may be as a start point for you: http://satchmo.python-hosting.com/file/trunk/satchmo/contact/models.py Good luck! Aidas Bendoraitis [aka Archatas] On 8/8/06, Rares Vernica <[EMAIL PROTECTED]> wrote: > > Hi, > >

Re: Weird slowdown with dev server behind nat

2006-08-08 Thread Akatemik
> I've fixed this as of http://code.djangoproject.com/changeset/3530 . > Thanks for bringing it up! Works like a charm. thanks. Such a tiny piece of code... :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djang

Re: Admin interface for DB model classes defined outside application doesn't work ?

2006-08-08 Thread ak
Malcolm, my models are imported into application,models and do have Admin inner class. Take a look: 1. Model: $ cat subnet.py # -*- coding: windows-1251 -*- from django.db import models class Subnet(models.Model): address = models.IPAddressField() mask = models.IPAddressField() clas

Re: Invalid character error using Oracle backed

2006-08-08 Thread Bill de hÓra
Malcolm Tredinnick wrote: > For now, if you want to hack on the source for your initial > testing/debugging, have a look in django/core/management.py around line > 206. There's a line that says > > r_name = '%s_refs_%s_%x' % (r_col, col, abs(hash((r_table, > table > > (it's

Re: Why 404?

2006-08-08 Thread Jarek Zgoda
Jay Parlar wrote: > > I had a similar problem (not seeing the records I just inserted into > > database - actually they were the only one) because I left the > > timezone variable set to "America/Chicago" and i live in Europe (and > > my timezone is Chicago + 8). So the date filter considered all

Re: Why 404?

2006-08-08 Thread Jarek Zgoda
Steven Armstrong wrote: > Don't know if this is related to your problem, but if you're using > sqlite the patch at [1] may help. Yes, I use SQLite. > If this does solve your problem, and you have a moment, you could add > some more background info about the bug to that ticket and confirm that >

Re: Admin interface for DB model classes defined outside application doesn't work ?

2006-08-08 Thread John Sutherland
Hi Anton, You may need to add the Meta class in too: mycompany/models.py: from django.db import models class Subnet(models.Model): field = models.CharField(maxlength=255) ... class Admin: pass class Meta: app_label = 'administration' And then in your mycompany/

Re: Why 404?

2006-08-08 Thread Jarek Zgoda
Steven Armstrong wrote: > Don't know if this is related to your problem, but if you're using > sqlite the patch at [1] may help. > > If this does solve your problem, and you have a moment, you could add > some more background info about the bug to that ticket and confirm that > the patch worked.

Re: MySQL UnicodeEncodeError

2006-08-08 Thread Wade Leftwich
Gábor Farkas wrote: > Niran Babalola wrote: > > I've been developing a Django application using SQLite, and now I'm > > trying to move over to MySQL and actually launch the site. The > > application is storing data from RSS/Atom feeds using Universal Feed > > Parser, which uses unicode strings for

How to get a subset of records from a subset?

2006-08-08 Thread PythonistL
To explain: Let's suppose we have a command HistoryList=historys.get_list(id__exact='2',order_by=['-PostedDate']) that command extracts a few records and from them I would like to use for further processing all without the first or last record. How can I do that in Django version 0.91? Thank yo

Re: Contacts application

2006-08-08 Thread Chris Moffitt
> Do you know anybody trying a Contacts/Phonebook type of application in > Django? I am thinking about building one. We don't have a contacts application but within Satchmo (the shopping cart framework we're developing) there are some address and contact models that might be helpful. Check the

Re: manage.py syncdb error

2006-08-08 Thread Seth Buntin
Are you trying to insert initial data into you db when running this script? --~--~-~--~~~---~--~~ 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

Re: How to get a subset of records from a subset?

2006-08-08 Thread John Sutherland
Hi PythonistL, I wonder if you can do the following: histories = historys... ids = [history.id for history in histories] histories = historys.get_list(id__in=ids, date__year=1066) It's a while since I did any .91 ;) John. On 8/8/06, PythonistL <[EMAIL PROTECTED]> wrote: > > > To explain: > L

Re: Admin Manipulators

2006-08-08 Thread Seth Buntin
Can this be done? I just can't seem to find any documentation on extending the admin module this way. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djang

manage.py syncdb error

2006-08-08 Thread abe
if I apply syncdb for one of my apps ./manage.py syncdb xxapp I get the traceback below that ends with [...] _mysql_exceptions.IntegrityError: (1062, "Duplicate entry '17-add_status' for key 2") I can't find an obvious error in the database. does anyone know what could be wrong.? abe Trace

Re: MySQL UnicodeEncodeError

2006-08-08 Thread Gábor Farkas
Wade Leftwich wrote: > Gábor Farkas wrote: >> Niran Babalola wrote: >>> I've been developing a Django application using SQLite, and now I'm >>> trying to move over to MySQL and actually launch the site. The >>> application is storing data from RSS/Atom feeds using Universal Feed >>> Parser, which

Related Models

2006-08-08 Thread Dave
How can I create a relationship between two models, using a ForeignKey in the second to take advantage of the Admin interface ability to add an arbitrary number of them, but then also have the ability to create a public view for adding objects based off the first model AND the second? So: class

Re: manage.py syncdb error

2006-08-08 Thread abe
Seth Buntin wrote: > Are you trying to insert initial data into you db when running this > script? not sure exactly what yuo mean by initial data. I'm sometimes creating extra models, sometimes deleting an old model, and then run syncdb to update the database. Eiso --~--~-~--~~--

Re: Admin interface for DB model classes defined outside application doesn't work ?

2006-08-08 Thread ak
John, app_label made it work. Thanks !!! P.S. Is there a line in django docs about that ? --~--~-~--~~~---~--~~ 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@goog

Re: Contacts application

2006-08-08 Thread Sarcastic Zombie
I have an internal company website that includes contact management. I wrote an app that connects to an LDAP tree; LDAP handles all the contact stuff (which it's good at) and I just wrote the interface to view and do lookups, etc. Just an idea. Soon I'll be writing code to let django connect to

Re: Admin Manipulators

2006-08-08 Thread Seth Buntin
Ok. Thanks. --~--~-~--~~~---~--~~ 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 to [EMAIL PROTECTED] F

Hack: middleware to prepend language code to url

2006-08-08 Thread gjiro
Hello there, I modified "Advanced Locale from URL middleware" by Jonathan Schemoul a bit and mixed in some parts of django.middleware.common. It prepends the language code to the url if no language code was present in request.path. Can somebody check the code to suggest possible optimizations a

Related Models Repost

2006-08-08 Thread Dave
How can I create a relationship between two models, using a ForeignKey in the second to take advantage of the Admin interface ability to add an arbitrary number of them, but then also have the ability to create a public view for adding objects based off the first model AND the second? So: class

Re: Admin Manipulators

2006-08-08 Thread Adrian Holovaty
On 8/7/06, Seth Buntin <[EMAIL PROTECTED]> wrote: > Can I extend the admin manipulator? I want to change one ManyToMany > select box to a text field. Hey Seth, No, it's not possible to extend the default model manipulators for use in the admin. Adrian -- Adrian Holovaty holovaty.com | django

'Unindexable Object' Error In Template W/ Relation Manager

2006-08-08 Thread Sarcastic Zombie
I'm in the process of porting from .91 to the magic removal trunk (lord have mercy). In one of the old templates, I do a: {% for agent in agency.get_agent_list %} blah blah {% endfor %} That worked great. So in my revised unmagical template I figured I'd do a little: {% for agent

Re: manage.py syncdb error

2006-08-08 Thread Kenneth Gonsalves
On 08-Aug-06, at 7:37 PM, abe wrote: > > I'm sometimes creating extra models, sometimes deleting an old model, > and then run syncdb to update the database. if you are deleting old model, syncdb wont do it for you -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/

Re: Admin interface for DB model classes defined outside application doesn't work ?

2006-08-08 Thread John Sutherland
Not that I could find -- I believe I originally found it in a Ticket somewhere. John. On 8/8/06, ak <[EMAIL PROTECTED]> wrote: > > John, app_label made it work. Thanks !!! > > P.S. Is there a line in django docs about that ? > > > > > -- [EMAIL PROTECTED] --~--~-~--~~---

Re: 'Unindexable Object' Error In Template W/ Relation Manager

2006-08-08 Thread Kenneth Gonsalves
On 08-Aug-06, at 8:36 PM, Sarcastic Zombie wrote: > > I'm in the process of porting from .91 to the magic removal trunk > (lord > have mercy). my sympathies > > In one of the old templates, I do a: > >{% for agent in agency.get_agent_list %} > >blah blah > >{% endfor %} > > That w

Re: manage.py syncdb error

2006-08-08 Thread abe
Kenneth Gonsalves wrote: > On 08-Aug-06, at 7:37 PM, abe wrote: > > > > > I'm sometimes creating extra models, sometimes deleting an old model, > > and then run syncdb to update the database. > > if you are deleting old model, syncdb wont do it for you > I know, but the complaint is about an cur

Re: when is 1 != 1? (according to 'ifequal' in template)

2006-08-08 Thread hotani
Thanks for all the responses. I fixed it in the view by altering my nice generic block of code... oh well. Here is the result: if filter_fields[f] == 'pfilter': request.session[filter_fields[f]] = int(request.POST[filter_fields[f]]) else: request.session[filter_fields[f]] = request.POST[f

Re: Scaffolding

2006-08-08 Thread Javier Nievas
If admins find not appropiate to keep these scripts in this website, I'll move them to another place. I didn't know If I had to ask somebody before updating the wiki. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Scaffolding

2006-08-08 Thread Javier Nievas
I have uploaded to: http://code.djangoproject.com/wiki/Scaffolding a script that allows you to generate form templates for all the models defined in your app, and also generates a _urls.py with urlpatterns to use those templates. This way you can setup your app quicker working over these templates

Re: 'Unindexable Object' Error In Template W/ Relation Manager

2006-08-08 Thread Adrian Holovaty
On 8/8/06, Sarcastic Zombie <[EMAIL PROTECTED]> wrote: > That worked great. So in my revised unmagical template I figured I'd do > a little: > >{% for agent in agency.agent_set.all %} > >blah blah > >{% endfor %} > > but I'm getting a screaming 'unindexable object' error. I've been > t

[OT] Has djangoproject.com's database been recentry restored from a backup?

2006-08-08 Thread Pawel J. Sawicki
Hi. I have a rather strange observation. Yesterday I posted some comments on the following pages: http://www.djangoproject.com/documentation/authentication/ http://www.djangoproject.com/weblog/2005/oct/24/http/ http://code.djangoproject.com/ticket/689 My input concerned http authentication wit

Re: Why 404?

2006-08-08 Thread Steven Armstrong
On 08/08/06 13:45, Jarek Zgoda wrote: > Steven Armstrong wrote: > >> Don't know if this is related to your problem, but if you're using >> sqlite the patch at [1] may help. >> >> If this does solve your problem, and you have a moment, you could add >> some more background info about the bug to th

Re: Has djangoproject.com's database been recentry restored from a backup?

2006-08-08 Thread [EMAIL PROTECTED]
Pawel J. Sawicki wrote: > Today I wanted to check if any replies appeared... I was quite > surprised that all my posts were gone... > > Am I wrong or were there really some problems with the data? No, i think they just cleaned up the comments as they said in the FAQ they sometimes do. Lorenzo

Re: [OT] Has djangoproject.com's database been recentry restored from a backup?

2006-08-08 Thread Adrian Holovaty
On 8/8/06, Pawel J. Sawicki <[EMAIL PROTECTED]> wrote: > Yesterday I posted some comments on the following pages: > > http://www.djangoproject.com/documentation/authentication/ > http://www.djangoproject.com/weblog/2005/oct/24/http/ > http://code.djangoproject.com/ticket/689 > > My input concerned

Re: 'Unindexable Object' Error In Template W/ Relation Manager

2006-08-08 Thread Sarcastic Zombie
Oh man, I'm really grateful for the help. And for writing Django in the first place. Here's the fun part of my problem! It works fine in the ./manage.py shell. My view was loading the agency with an id of 141, so for consistency, we'll use that same object. >>> from commund.financial_database.mo

Re: 'Unindexable Object' Error In Template W/ Relation Manager

2006-08-08 Thread Sarcastic Zombie
Sadly, that doesn't seem to work. It seems to be silent failing when i do agency.agent.all, as if no such thing exists. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, se

Re: Has djangoproject.com's database been recently restored from a backup?

2006-08-08 Thread Pawel J. Sawicki
Adrian Holovaty wrote: > I routinely go through the djangoproject.com comments and delete > comments that either aren't directly related to the documentation or > are incorrect. (...) Well... I've just tried to follow the discussion that started in those two topics. I'll rephrase my question on

How can i modify default add method for a model?

2006-08-08 Thread ElGranAzul
Hi all... I'm very newbie to django and python, and i'm testing it. I've created a model, and i would like to add a function to create a group item for each model item. I've thinkint to use __setitem__ or __add__, but i can't find documentation. Someone could help me or give me some doc or url,

Re: How can i modify default add method for a model?

2006-08-08 Thread ElGranAzul
Ok... my newbie error... ;) Now i've found it before 2 days of reads... the save function... Thanks... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dja

Re: 'Unindexable Object' Error In Template W/ Relation Manager

2006-08-08 Thread Sarcastic Zombie
> What happens when you keep going? Try doing the loop here. Perhaps > something like: > > >>> for agent in a.agent_set.all(): > ... print agent > ... >>> for agent in a.agent_set.all(): ... print agent.first_name ... Agent No error. :-D --~--~-~--~~~---~-

Re: Why 404?

2006-08-08 Thread Jarek Zgoda
Steven Armstrong wrote: > Have you nuked any *.pyc files still lying around after applying the patch? That was it, thanks. Did a clean SVN checkout and your patch works fine. Any chance for anybody else to check & review this patch? It would be nice to have such problem fixed... Cheers Jarek Z

Re: 'Unindexable Object' Error In Template W/ Relation Manager

2006-08-08 Thread Waylan Limberg
On 8/8/06, Sarcastic Zombie <[EMAIL PROTECTED]> wrote: > > Oh man, I'm really grateful for the help. And for writing Django in the > first place. > > Here's the fun part of my problem! It works fine in the ./manage.py > shell. My view was loading the agency with an id of 141, so for > consistency,

Http authentication and the multiple auth backend model.

2006-08-08 Thread Pawel J. Sawicki
Hello! I'm developing a web based application using the Django framework. One of the requirements for my software state that the program must, whenever possible, automatically "deal" with users that had been previously authenticated via http capabilities. It does not mean it should always log th

Re: How can i modify default add method for a model?

2006-08-08 Thread Bryan Chow
Not sure I understand exactly what you're looking for, but have you looked at the manipulators documentation? http://www.djangoproject.com/documentation/forms/ Bryan On 8/8/06, ElGranAzul <[EMAIL PROTECTED]> wrote: > Hi all... > > I'm very newbie to django and python, and i'm testing it. > > I

Re: Contacts application

2006-08-08 Thread Sam Tran
On 8/8/06, Rares Vernica <[EMAIL PROTECTED]> wrote: > > Hi, > > Do you know anybody trying a Contacts/Phonebook type of application in > Django? I am thinking about building one. > We are writing such an interface for internal use. The contact information includes: - work phone numbers - home ph

DreamHost

2006-08-08 Thread george webzary
Hi,Has anyone set up a web site on DreamHost with Django pre 0,96 lately. I tried yesterday. It just does not seem to work. I tried Jeff Croft's tutorial first, then changed the code based on this link http://www.djangoproject.com/documentation/fastcgi/And then tried the official version of dreamh

Re: MR: _manipulator_validate_FIELD() methods?

2006-08-08 Thread Tom Tobin
On 5/6/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote: > > On 5/6/06, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > > > > Matthew Flanagan wrote: > > > > >Since MR merged the _manipulator_validate_FIELD() methods stopped > > >working. The solution I came up with was to write custom manipulators > > >

Re: How to get a subset of records from a subset?

2006-08-08 Thread DavidA
PythonistL wrote: > To explain: > Let's suppose we have a command > > HistoryList=historys.get_list(id__exact='2',order_by=['-PostedDate']) > > that command extracts a few records and from them I would like to use > for further processing all without the first or last record. > How can I do that

DateTime field milliseconds?

2006-08-08 Thread Gennan Chen
Hi!I am using MySQL as my DB and it seems datetime field did not store milliseconds. Is it the correct behavior? Any chance I can hack that/ I need Milliseconds resolution.  Gen-Nan Chen --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: DreamHost

2006-08-08 Thread Jay Parlar
On 8/8/06, george webzary <[EMAIL PROTECTED]> wrote: > Hi, > > Has anyone set up a web site on DreamHost with Django pre 0,96 lately. I > tried yesterday. It just does not seem to work. I tried Jeff Croft's > tutorial first, then changed the code based on this link > http://www.djangoproject.com/

Re: DreamHost

2006-08-08 Thread Jure Čuhalev
On 8/8/06, george webzary <[EMAIL PROTECTED]> wrote: > Hi, > > Has anyone set up a web site on DreamHost with Django pre 0,96 lately. I > tried yesterday. It just does not seem to work. I tried Jeff Croft's > tutorial first, then changed the code based on this link > http://www.djangoproject.com/

Re: DateTime field milliseconds?

2006-08-08 Thread James Bennett
On 8/8/06, Gennan Chen <[EMAIL PROTECTED]> wrote: > I am using MySQL as my DB and it seems datetime field did not store > milliseconds. Is it the correct behavior? Any chance I can hack that/ I need > Milliseconds resolution. As far as I know, MySQL offers no support for storing such values; the

Re: Related Models

2006-08-08 Thread Malcolm Tredinnick
On Tue, 2006-08-08 at 14:16 +, Dave wrote: > How can I create a relationship between two models, using a ForeignKey > in the second to take advantage of the Admin interface ability to add > an arbitrary number of them, but then also have the ability to create a > public view for adding objects

Re: Invalid character error using Oracle backed

2006-08-08 Thread Malcolm Tredinnick
On Tue, 2006-08-08 at 12:13 +0100, Bill de hÓra wrote: > Malcolm Tredinnick wrote: > > > For now, if you want to hack on the source for your initial > > testing/debugging, have a look in django/core/management.py around line > > 206. There's a line that says > > > > r_name = '%s_refs_%s_

Re: Scaffolding

2006-08-08 Thread Malcolm Tredinnick
On Tue, 2006-08-08 at 16:36 +, Javier Nievas wrote: > If admins find not appropiate to keep these scripts in this website, > I'll move them to another place. I didn't know If I had to ask somebody > before updating the wiki. Go for it. It's a wiki: the intended place for user-contributed docu

Re: 'Unindexable Object' Error In Template W/ Relation Manager

2006-08-08 Thread Malcolm Tredinnick
On Tue, 2006-08-08 at 08:06 -0700, Sarcastic Zombie wrote: > I'm in the process of porting from .91 to the magic removal trunk (lord > have mercy). OK, we really have to stop calling the current code "magic removal trunk". People are going to start wondering what we are talking about. :-) > In o

Re: 'Unindexable Object' Error In Template W/ Relation Manager

2006-08-08 Thread Kenneth Gonsalves
On 08-Aug-06, at 11:31 PM, Sarcastic Zombie wrote: > Sadly, that doesn't seem to work. It seems to be silent failing when i > do agency.agent.all, as if no such thing exists. maybe it doesnt exist - for example, if you search on an integer, and the integer is got from the POST, there is a pos

Re: [OT] Has djangoproject.com's database been recentry restored from a backup?

2006-08-08 Thread Kenneth Gonsalves
On 08-Aug-06, at 10:14 PM, Pawel J. Sawicki wrote: > Today I wanted to check if any replies appeared... I was quite > surprised that all my posts were gone... > > Am I wrong or were there really some problems with the data? there seem to be some problems with akismet (i think thats the one) --

Re: 'Unindexable Object' Error In Template W/ Relation Manager

2006-08-08 Thread Kenneth Gonsalves
On 09-Aug-06, at 5:12 AM, Malcolm Tredinnick wrote: >> I'm in the process of porting from .91 to the magic removal trunk >> (lord >> have mercy). > > OK, we really have to stop calling the current code "magic removal > trunk". People are going to start wondering what we are talking > about. :-

Re: MR: _manipulator_validate_FIELD() methods?

2006-08-08 Thread Tom Tobin
On 8/8/06, Tom Tobin <[EMAIL PROTECTED]> wrote: > On 5/6/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote: > > > > On 5/6/06, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > > > > > > Matthew Flanagan wrote: > > > > > > >Since MR merged the _manipulator_validate_FIELD() methods stopped > > > >working. Th

Re: MR: _manipulator_validate_FIELD() methods?

2006-08-08 Thread Tom Tobin
On 8/8/06, Tom Tobin <[EMAIL PROTECTED]> wrote: > On 8/8/06, Tom Tobin <[EMAIL PROTECTED]> wrote: > > On 5/6/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote: > > > > > > On 5/6/06, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > > > > > > > > Matthew Flanagan wrote: > > > > > > > > >Since MR merged the

Using Django with a non-relational back-end data store?

2006-08-08 Thread felciano
Hi -- I'm looking for a python web framework to build web apps talking to a non-SQL-based data store, similar to an RDF store for the semantic web. I'm trying to find a toolkit with a sufficiently-factored database abstraction layer that we could plug in our own. The server has its own query lang

formwrappers and manipulators

2006-08-08 Thread skullvulture
Are form wrappers and manipulators only for creating 'change object' and 'add object' forms? I'm creating a simple form that will have several drop downs that correspond to fields in the database for one of my objects, that will serve as a search form. Right now I have a basic addManipulator so

good at typing? get at me

2006-08-08 Thread numberslocker
lookin fer a data entry specialist: --gotta be quick at typing --serious attitude[serioulsy good, that is] --part time/full time --basic internet knowledge. hit me at [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: MySQL UnicodeEncodeError

2006-08-08 Thread Andy Dustman
On 8/7/06, Niran Babalola <[EMAIL PROTECTED]> wrote: > > "UnicodeEncodeError: 'latin-1' codec can't encode characters in > position 75-76: ordinal not in range(256)" This indicates your default database connection character set is latin1. You can change this in your server configuration, or you c

Re: Using Django with a non-relational back-end data store?

2006-08-08 Thread Malcolm Tredinnick
On Tue, 2006-08-08 at 18:41 -0700, felciano wrote: > Hi -- > > I'm looking for a python web framework to build web apps talking to a > non-SQL-based data store, similar to an RDF store for the semantic web. > I'm trying to find a toolkit with a sufficiently-factored database > abstraction layer t

Re: DreamHost

2006-08-08 Thread george webzary
I tried everything. I touched the fcgi files, pkilled python. There is no problemas far as django itself is concerned. It is working very well. I am able to create apps, models, templates, acess the manage.py shell. I can do whatever I can do on my Ubuntu PC The problem is definitely with Fast CGI

Re: MR: _manipulator_validate_FIELD() methods?

2006-08-08 Thread [EMAIL PROTECTED]
Tom, Does the solution I posted [1] earlier in this thread not work for you? [1] http://groups.google.com/group/django-users/msg/a76be4c94631ec80 matthew --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django u

Re: MR: _manipulator_validate_FIELD() methods?

2006-08-08 Thread Tom Tobin
On 8/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Tom, > > Does the solution I posted [1] earlier in this thread not work for you? > > > [1] http://groups.google.com/group/django-users/msg/a76be4c94631ec80 Getting these manipulator-aware validators working in the admin is exactly the is

Re: DreamHost

2006-08-08 Thread Eugene Lazutkin
Rather obvious question: did you try to complain to DreamHost people about your problems? FastCGI is supposed to work. Thanks, Eugene george webzary wrote: > I tried everything. I touched the fcgi files, pkilled python. There is > no problem > as far as django itself is concerned. It is worki

Re: DreamHost

2006-08-08 Thread [EMAIL PROTECTED]
Basic question, apologies if you've checked this already. Have you double checked that you turned on fastcgi support for that (sub)domain in the Dreamhost control panel - it's not enabled by default. --~--~-~--~~~---~--~~ You received this message because you are

Re: Contacts application

2006-08-08 Thread Rares Vernica
Satchmo is a good place to start. Thanks a lot, Ray Chris Moffitt wrote: > >> Do you know anybody trying a Contacts/Phonebook type of application in >> Django? I am thinking about building one. > > We don't have a contacts application but within Satchmo (the shopping cart > framework we're dev

Re: How to get a subset of records from a subset?

2006-08-08 Thread PythonistL
Thank you David and John for help L. --~--~-~--~~~---~--~~ 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 em