Fernando,
It looks it's my own fault I failed to mention I was adding a new
object via Djangos admin interface.
That means it's Djangos fault, not mine ;)
--
Petar Marić
*e-mail: [EMAIL PROTECTED]
*mobile: +381 (64) 6122467
*icq: 224720322
*skype: petar_maric
*web: http://www.petarmaric.com/
--
Hi,
How do you shut down the Django server on port 8000? My SSH connection
crashed before I could close the Django server and it's still running.
I uninstalled my projects and I still get a Django 404 page! Any ideas?
Thanks,
Anthony
--~--~-~--~~~---~--~~
You re
On 5/6/06, Amit Upadhyay <[EMAIL PROTECTED]> wrote:
> You are probably behind a (transparent?) proxy that does not support HTTP
> REPORT required by svn.
I had the same problem, so just wondering, is there any *nix proxy
server that supports HTTP REPORT?
--
Sincerely,
Vladimir "Farcaller" Pouzan
tgone wrote:
> Hi,
>
> How do you shut down the Django server on port 8000? My SSH connection
> crashed before I could close the Django server and it's still running.
> I uninstalled my projects and I still get a Django 404 page! Any
> ideas?
You just have to kill the python process corresponding
Hi,
Apologies in advance for the long post but I have hit a brickwall: How
do you get django and MySQLdb to talk to each other?
I have been banging my head against the wall trying to get past "The
development server" per the django tutorial at <
http://www.djangoproject.com/documentation/0_91/tu
Hello,
Is it possible to order a query by a ManyToManyField? For example,
in the models below, I'd like to select all Entries and order by the
Author's name. Something to the effect of Entry.objects.all
().order_by('authors__name')?
Thanks,
Brian
class Author(models.Model):
name = m
On 5/4/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote:
> Hi
>
> I've been porting a large application to MR since monday and have it
> 99% done except for a few issues. One of them is the
> _manipulator_validate_FIELD(self, field_data, all_data) methods not
> being call for my models. Is this inte
Matthew Flanagan wrote:
>Since MR merged the _manipulator_validate_FIELD() methods stopped
>working. The solution I came up with was to write custom manipulators
>(which was what I was trying to avoid all along).
>
Can you assign those validators to the validator_list of a field right
in a model
On Fri, 2006-05-05 at 15:06 -0600, Joseph Kocherhans wrote:
> That sounds about right. I've been developing a new authentication
> system for django since PyCon that allows for different or even
> multiple backends... the api has been pretty unstable so far, but it's
> getting close. I've written
Hi,
Just to reply to Rick, I kind of succeeded in configuring django.
At least I access the admin interface for the tutorial application
(polls).
In summary:
- I followed the 'django on dreamhost' instructions
- Compiled in psycopg (not avail by default), used bluehost's porstgres
headers.
- The
On Friday 05 May 2006 19:41, evenrik wrote:
> Using pre magic removal I got this error:
>
> Exception Type: ProgrammingError
> Exception Value: ERROR: unterminated quoted string at or near
> "'F28T8/841 T8 4'' " at character 419 select count(a.id) from
> uv2_applications as a inner join
On Saturday 06 May 2006 11:56, Paulo wrote:
> From my limited knowledge it seems like a MySQLdb/Django problem but
> after so much emty searching around I am still not sure how to go
> about fixing the problem. A few posts have covered exporting youe
> settings and such but nothing has worked.
T
On Saturday 06 May 2006 05:01, Chris Moffitt wrote:
> I know there's been talk about changing/enhancing the admin interface
> but I'm not sure where my idea would fit. One thing I've noticed is
> that as you add more models to the interface, it can get a little
> more confusing about how they're
On Saturday 06 May 2006 12:55, Brian Elliott wrote:
> Is it possible to order a query by a ManyToManyField? For example,
> in the models below, I'd like to select all Entries and order by the
> Author's name. Something to the effect of Entry.objects.all
> ().order_by('authors__name')?
>
> Thank
Luke Plant wrote:
> The 'Django' way of handling this is to split your models into different
> 'apps'. They then get their own division automatically. Like you I
> have a lot of models in one app (about 20), and splitting them up
> doesn't make much sense since they logically belong together,
Luke Plant wrote:
>I can't see how this would work -- an entry can have many authors, so
>which one do you order by?
>
>
I'm having very hard time explaining this to my current customer :-).
'What can be hard about sorting?', he says... 'In Java you'll get this
for every list in a project in
Does anyone have instructions on running Django behind CherryPy?
It sounds like the builtin web server works, but is not especially
robust. I would like to run my app behind a python web server so it can
be more easily distributed. My users will be running it locally, so I
would like to avoid apa
Anyone interested in a django project generator I just hacked up? Take
a look at
http://ross.lazarus.googlepages.com/dJingle.py
It's a python program that loads enough django to create a complete
project - it takes a delimited file path as the CL parameter, reads the
header, sniffs column length
> It looks impossible on the SQL side. I thought you coud join tables,
> order by a field in authors table and then get results with DISTINCT to
> eliminate duplication from joining. But it appears that DISTINCT
> requires you to select fields that you order by which ensures that
> duplication wou
On Saturday 06 May 2006 09:50, [EMAIL PROTECTED] wrote:
> Anyone interested in a django project generator I just hacked up? Take
> a look at
> http://ross.lazarus.googlepages.com/dJingle.py
>
> It's a python program that loads enough django to create a complete
> project - it takes a delimited fi
pbx wrote:
>I've been banging my head against some similar problems recently,
>mostly with legacy data that's poorly normalized. One optimization/hack
>that was suggested to me was adding a field that's only used for
>sorting (or selecting, as the case may be) -- like your hypothetical
>concatena
Eric: feel free to "clean up" my script, but maybe take a closer look
first :-) It does use the csv module for csv - I think I even tested it
once - but I mostly deal with tab delimited files.
I wonder if you're looking at complexity related to wanting an iterator
for either csv or generic delimi
Hi Luke,
Thanks for the reply.
> The fundamental problem is probably this line:
> Could not load database backend: cannot import name ImmutableSet.
>
> I'm guessing that your PYTHONPATH isn't set up correctly, but I can't be
> sure. It's a good place to start looking. If it is, then you need t
Here is the snippet of code where the exception is generated by
get_object(). This is in a module level function of a model.
sql = {
'manufacturer__iexact':post_data.get('manufacturer', None),
'model__iexact':post_data.get('model', None),
'wattage__exac
On 5/5/06, Chris Moffitt <[EMAIL PROTECTED]> wrote:
> I know there's been talk about changing/enhancing the admin interface
> but I'm not sure where my idea would fit. One thing I've noticed is
> that as you add more models to the interface, it can get a little more
> confusing about how they're
I thought this was created by Django, but on closer inspection it turns
out that you are right and it is custom SQL. Thanks for the help.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
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
> >(which was what I was trying to avoid all along).
> >
> Can you assign
On 5/5/06, Cornel Nitu <[EMAIL PROTECTED]> wrote:
> When I add an instance of the Item class in the Admin interface,
> everything works correctly and I see all the properties in the Item's
> add form. After adding an Item object, the values are inserted in the
> database. But, when I'm trying to e
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]
For mo
Kilian CAVALOTTI wrote:
> tgone wrote:
> > Hi,
> >
> > How do you shut down the Django server on port 8000? My SSH connection
> > crashed before I could close the Django server and it's still running.
> > I uninstalled my projects and I still get a Django 404 page! Any
> > ideas?
>
> You just hav
Working with revision 2864 and trying to run through the many_to_many
example.
when I execute -
a1.publications.all()
I get this error-
TypeError: Cannot resolve keyword 'article' into field
I know these are still being validated. Is this a known bug or a new one?
-Chris
--~--~-~-
I encountered problem that similar to ticket#1296 with the latest dev
revision?
my flatpages is only working when DEBUG=True. Currently, I'm using
revision 2864.
I try to look at the flatpages middleware, but cant find anything
suspicious :)
Anyone have the same problem or resolution?
Thanks,
-
32 matches
Mail list logo