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
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
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
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
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
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
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
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
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
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
>
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
>
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
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
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
> >
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
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
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.
>
>
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
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
>
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
> 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
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
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,
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
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
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
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]
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/
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
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 |
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
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
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]
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
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
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
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
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
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
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
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:
>
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
> 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
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
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.
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
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
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
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()
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
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
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 =
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
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
Hi,
Do you know anybody trying a Contacts/Phonebook type of application in
Django? I am thinking about building one.
Thanks a lot,
Ray
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
55 matches
Mail list logo