Okay, so I can't really replace it... but I can extend it? Like, make
another table with a foreign key to the Users table and set all my
extra stuff there? I assume that could be added to the admin section
so long as I write a "model" for it?
Thanks, just trying to understand this a bit more :)
This may be similar to the fact you can't clear a file field.
See http://code.djangoproject.com/ticket/22
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
It doesn't solve.
The Task model have a lots of fields, can't go into models.TABULAR. Also
I want to list in Task Admin the fields: ('name', 'client', 'project',
'user')
I also have to list the open tasks associated to the logged user in the
home link.
Thanks,
Nuno
SmileyChris wrote:
> Someth
I received in a private email:
> Hello Matthew,
>
> I'm seeing the exact same "date_hierarchy" problem and was wondering
> if you received a solution offline and/or figured it out.
>
> Seems like the problem is somewhere among my Python 2.3.3, MySQLdb
> 1.2.1 and the MySQL 3.23.53, 'cause I've got
Something like this:
- Task will show up under Project (I removed class Admin, added
edit_inline)
- Tasks don't need a client link probably, since they are linked to a
project already
class Client(models.Model):
name = models.CharField(maxlength=255)
[...]
def __str__(self):
On Mon, 2006-06-12 at 12:09 -0700, medhat wrote:
> Hi,
>
> If you have a many-to-many field, let's say for example Employee and
> Project, is there a way given an arbitrary list of projects to get they
> employees who work on all projects? (i.e. each on of the employees in
> the result must be wo
I need in the Task form a select imput with: "Client - Project" for
selection.
How do i change my Task model to show in Admin and to save the project_id?
My models.py:
class Client(models.Model):
name = models.CharField(maxlength=255)
[...]
def __str__(self):
return sel
Bryan Murdock wrote:
> OK, it's the same with Internet Exploder. Here's two links to click
> on and see if it's the same for you:
>
> Displays nicely:
>
> http://www.blueskyonmars.com/?feed=rss&cat=19
>
> Doesn't:
>
> http://www.djangoproject.com/rss/weblog/
>
> Bryan
My feed displays nicel
On Monday 12 June 2006 15:17, Bryan Murdock wrote:
> OK, it's the same with Internet Exploder. Here's two links to click
> on and see if it's the same for you:
>
> Displays nicely:
>
> http://www.blueskyonmars.com/?feed=rss&cat=19
>
> Doesn't:
>
> http://www.djangoproject.com/rss/weblog/
>
> Brya
Hi,
If you have a many-to-many field, let's say for example Employee and
Project, is there a way given an arbitrary list of projects to get they
employees who work on all projects? (i.e. each on of the employees in
the result must be working on *all* projects in the list)
I am interested in doin
Djangonauts,
I'm not too well versed in this whole web application development
world yet, so maybe this is a dumb question...
When I click on a link to an RSS feed on a Wordpress powered blog, for
example, Firefox quickly displays the xml with fancy highlighting and
indentation and stuff. When
OK, it's the same with Internet Exploder. Here's two links to click
on and see if it's the same for you:
Displays nicely:
http://www.blueskyonmars.com/?feed=rss&cat=19
Doesn't:
http://www.djangoproject.com/rss/weblog/
Bryan
On 6/12/06, Bryan Murdock <[EMAIL PROTECTED]> wrote:
> Djangonauts,
Hi Daniel.
I'm doing this right now on http://zyons.com and http://economy-chat.com
the trick is to use the directive
'pythoninterpreter XYZ' in each virtual host
regards
ian
On 13/06/2006, at 7:49 AM, [EMAIL PROTECTED] wrote:
>
> Hi.
>
> I'm planning to run two sites off the same Django+Apache+
Hi.
I'm planning to run two sites off the same Django+Apache+mod_python
installation. I'd want to be running the same app on two different
domains, with different languages, different templates, differrent URL
schemes and disjunct databases, but on the same server.
I was planning on simply doing
I guess i'm not sure what module(s) to include to get it to work - i've
done a quick test, with no luck, but haven't _really_ sat down and
tried to make it go - i was hoping the LazyWeb(tm) would help me out
here! :)
Do you just do a
from django.db import *
or what?
--~--~-~--~~
Normally I'd say there was a problem with one of your models - like a __repr__ (or __str__ in MR as I understand it) missing. It's not an awesome solution, but I've debugged this sort of thing by invoking python interactively, importing the relevant pieces, and asking the template to render for me
I installed Django on Apache but still not successfully.
When I try to open a view/page that normaly works (e.g on Dreamhost
where I use FastCGI),
on Linux box with Mod_python and Django I will get
Mod_python error: "PythonHandler django.core.handlers.modpython"
Traceback (most r
On Monday 12 June 2006 01:04, Ramiro Morales wrote:
> Trying to use a handful of variations with the (undocumented?) QNot
> object type don' t
> work either, the model validation stops with these kind of errors
>
> both
> limit_choices_to=QNot=(id_exact=self.id)
> limit_choices_to=QNot=(pk=self.i
On Sunday 11 June 2006 17:13, Andrew Degtiariov wrote:
> So for avoiding these problems I have looked to migrate to MRT.
> Anybody know is construction
> Entry.objects.filter(
> headline__startswith='What').exclude(
> pub_date__gte=datetime.now()).filter(
> pub_date__gte
This looks promising. I'll try.
IMHO such mode should be set in setings.py.
You should have to choose beetwen "default deny" and "default accept"
Maybe Adrian and rest of core dev will include such feature in next
release with:
DEFAULT_ESCAPE_FILTER=False
for reverse compatibility :)
--~--~-
Bill de hÓra wrote:
> I think you're making things complicated - you don't want to deal with a
> database but do want to pass marshaled python structures into django
> templates. Don't do an end run around the framework. The way to go
> about this is to pull down the XML scheduled via cron or som
I changed the model name from Email to ProvEmail and that fixed it.
Seems like this may be a bug related to the one you were mentioning.
Thanks, Tom
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" gr
Hello,
in admin interface i have a (minor) problem with ImageField. That field
has blank=True, so the image is not mandatory. But after inserting one,
I don't see a way to empty it again.
Do I miss something?
Thanks. x0nix
--~--~-~--~~~---~--~~
You received th
Don't see why you can't do just that. Is it not working for you, or are
you just wondering if it's possible? I use the db_api outside of Django
web apps with no problems...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
I've changed it to email_owner, and I still get the same message...
Incidentally, I don't have a model named owner, but changed it in case
it was a reserverd word...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
On 6/12/06, Kristoffer <[EMAIL PROTECTED]> wrote:
> A quick question: Is there support for ReST in templates in Django 0.91
> or is it only in the trunk version?
Hey Kristoffer,
If you're referring to the django.contrib.markup library of template
filters, that's been around since Django 0.91.
A
A quick question: Is there support for ReST in templates in Django 0.91
or is it only in the trunk version?
Thanks,
Kristoffer
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
tomass wrote:
> It seems to be related to this in my models:
>
> from django.contrib.auth.models import User
>
> class Email(models.Model):
> owner = models.ForeignKey(User)
> ...
> ...
>
> If I comment out this line, I'm good. What's am I doing wrong here?
I have seen the same message u
It seems to be related to this in my models:
from django.contrib.auth.models import User
class Email(models.Model):
owner = models.ForeignKey(User)
...
...
If I comment out this line, I'm good. What's am I doing wrong here?
--~--~-~--~~~---~--~~
You recei
Hi Folks,
Can anyone help out with a broken part of the admin interface? I get
this message if I try to edit a user:
AttributeError at /admin/auth/user/1/
'bool' object has no attribute 'get'
Request Method: GET
Request URL:http://example.com/admin/auth/user/1/
Exception Type:
Malcom,
Thank you for the help.
You were right. Permissions were the problem
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.co
31 matches
Mail list logo