> the object with that ID still has to actually
> exist in the database, or else you'll end up getting errors from your
> code.
When an object is deleted can we not update its foreignkey reference to
point to it's corresponding Log object..
--~--~-~--~~~---~--~~
On 6/28/06, mamcxyz <[EMAIL PROTECTED]> wrote:
>
> I forgot to add this details:
>
> django is installed in /root/django_src
>
> The project is in
>
> /root/vulcano/jhonWeb/
Surface-level: have you ensured that the user lighty/fcgi is running
under has access to the template dir?
Kinda. We have been using a developed-from-scratch mailing list system
using Django. Web management interface plus support for email commands
using procmail into Python scripts. Still a work in progress but it's
in production. Pretty simple stuff.
Bryan
I forgot to add this details:
django is installed in /root/django_src
The project is in
/root/vulcano/jhonWeb/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
On 6/28/06, Chase <[EMAIL PROTECTED]> wrote:
> I'd like to set up an admin form that will use something like a
> SlugField's prepopulate_from to fill several text fields with
> information from foreignkey, float, and other fields. It doesn't seem
> Django's current function will meet my needs,
After 2 weeks I was able to setup django under CentOS 3 ;)
Now, I'm so close... I can see the login screen of admin but the admin
media files and my media and the templates are not loading :(
This is under lighttpd with the lastest svn code with the new fastcgi:
lighttp:
server.document-root
On 6/28/06, Filipe <[EMAIL PROTECTED]> wrote:
> Can someone please confirm if Django running on a linux machine does
> not currently support MS SqlServer?
Django doesn't support SQL Server fully -- the support is still under
development. Search the django-users and django-developers
mailing-list
On 6/28/06, Geert Vanderkelen <[EMAIL PROTECTED]> wrote:
> ALTER TABLE appname_modelname ENGINE=MyISAM;
>
> and you're done. That's something you'll have to do afterward doing a
> 'syncdb' or sqlreset indeed.
You can put that ALTER TABLE statement in the "sql" directory within
your app, named in
anyone in django land integrated mailing lists with django ?
regards
Ian
--~--~-~--~~~---~--~~
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
On 6/28/06, keukaman <[EMAIL PROTECTED]> wrote:
> Does anyone have any thoughts on a "boot camp" for prospective Django
> users where completion would result in a solid foundation for building
> commercial Django powered sites?
Hey keukaman,
Are you suggesting a "real-world" boot camp, or an
On 6/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> i am currently looking at building a kinda daily posts blog thing and
> basically i need this functionality. if the date changes, i need a
> "date" header. if the date hasn't changed but i'm on a new blog post i
> just need a simple
> As noted in another message in this thread; this looks like your user
> object hasn't been saved before being added to the m2m object.
This was indeed the issue.
> This looks like it could be a manifestation of Ticket #1839. I'm in the
> process of looking at this one at the moment.
Please
On 6/28/06, Mikko Nylén <[EMAIL PROTECTED]
> wrote:
I've tried this:Color.objects.exclude(similar_colors__the_color__startswith="..."), and italmost works. However, the problem is, it doesn't give the Colors whichdon't have any Colors in similar_colors. I need to get these as well.
Interesting...
Does anyone have any thoughts on a "boot camp" for prospective Django
users where completion would result in a solid foundation for building
commercial Django powered sites?
I found the tutorial for the poll to be very good, but I still have a
lot of questions. As a newcomer to this type of web
On 6/29/06, Norbert Wojtowicz <[EMAIL PROTECTED]> wrote:
112. if follow.get(f.name, False): AttributeError at /admin/auth/user/1/ 'bool' object has no attribute 'get'This looks like it could be a manifestation of Ticket #1839. I'm in the process of looking at this one at the moment.
Second
On 6/29/06, Michael Radziej <[EMAIL PROTECTED]> wrote:
Hey russellm,thanks a lot for the extended model validation--it rocks! Youprobably saved me endless hours of debugging twisted things!No problems Michael - glad I could help you out.
Yours,Russ Magee %-)
Hackers gain access to server hosting bank Web sites: A hosting
provider for smaller community banks was recently compromised by
hackers, placing at risk more than 100 different banks across the U.S.
www.theonlinebanks.com
--~--~-~--~~~---~--~~
You received this
Thanks for the tip.
It may still be useful if we could get at the form field value by
itself, perhaps with a syntax like "form.description.value" or
form.variable.value.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Answering my own mail here...
> Second Problem (I'm not sure, but I think it may be related to the previous):
...
> for n in data['recipients']:
> e.recipients.add(User.objects.get(pk=n))
This is no longer a problem. Malcolm Tredinnick answered this issue
yesterday (I have simply
On 6/28/06, Geert Vanderkelen <[EMAIL PROTECTED]> wrote:
> I'm also not sure how you going to use the full text
> searching unless there is a patch now too..
For just querying against the DB, having fulltext indexes set up
should be sufficient; the DB's query optimizer will recognize that
On 6/28/06, Geert Vanderkelen <[EMAIL PROTECTED]> wrote:
> Think you made a typo there or so..
>
> MyISAM -> none transactional
> InnoDB and NDBCluster (and BDB) -> transactional
Yeah. Too much traveling, too much coding, too little sleep :(
--
"May the forces of evil become confused on the
Vladimir Pouzanov wrote:
> On 6/28/06, Remi <[EMAIL PROTECTED]> wrote:
>> A few days ago we released the screencast of our control panel
>> (http://blog.webfaction.com/control-panel-demo) which showed, amongst
>> other things, how to setup a default Django site in a few clicks.
> I hope the new
Hi Andrew,
[EMAIL PROTECTED] wrote:
> Hi,
>
> A total newbie question here, but is there a way to specify the engine
> I would prefer when defining models for applications. Would really
> prefer MyISAM, but MySQL keeps creating InnoDB when the tables are
> automatically created. (Reason: MyISAM
Hi James,
James Bennett wrote:
> On 6/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> A total newbie question here, but is there a way to specify the engine
>> I would prefer when defining models for applications. Would really
>> prefer MyISAM, but MySQL keeps creating InnoDB when the
On Tue, 27 Jun 2006 23:30:56 -0500, Patrick .J. Anderson wrote:
> Malcolm Tredinnick wrote:
>> [quoted text muted]
>
> Hi, Malcolm
>
> Yes, I noticed that too. Perhaps it would be good if I tested this
> behaviour on another distro, but I don't want to resetup my development
> machine again.
Hi, I'm running Mac OSX 10.4.7 on a Mac Mini Intel Core Duo (1.66 ghz
512mb of RAM) Python 2.4.3 (Universal Build). I have the latest Django
build from the trunk in the SVN. I got django_website straight from the
SVN, aswell. I installed memcached from darwinports and py-memcached
from the
On 6/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> i am currently looking at building a kinda daily posts blog thing and
> basically i need this functionality. if the date changes, i need a
> "date" header. if the date hasn't changed but i'm on a new blog post i
> just need a simple
On 6/28/06, Remi <[EMAIL PROTECTED]> wrote:
> A few days ago we released the screencast of our control panel
> (http://blog.webfaction.com/control-panel-demo) which showed, amongst
> other things, how to setup a default Django site in a few clicks.
I hope the new screencast will be in some format
Hi all
I'd like to set up an admin form that will use something like a
SlugField's prepopulate_from to fill several text fields with
information from foreignkey, float, and other fields. It doesn't seem
Django's current function will meet my needs, but I'm trying to figure
out the best way to
Hello,
I have not been able to resolve this issue with people's help on irc, so I'm
hoping to reach a larger audience.
Dependencies:
- reset all my databases
- running mod_python + apache
(restarted more than once :)
- svn trunk (a day old at the time of writing)
Problem:
"A Django Model"
...
--~--~-~--~~~---~--~~
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
Hey russellm,
thanks a lot for the extended model validation--it rocks! You
probably saved me endless hours of debugging twisted things!
8-)
Michael
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
Hello,
I have not been able to resolve this issue with people's help on irc, so I'm
hoping to reach a broader audience.
Dependencies:
- reset all my databases
- running mod_python + apache
(restarted more than once :)
- svn trunk (a day old at the time of writing)
Problem:
i am currently looking at building a kinda daily posts blog thing and
basically i need this functionality. if the date changes, i need a
"date" header. if the date hasn't changed but i'm on a new blog post i
just need a simple separator. Now, at first i would imagine this be
the code:
{%
Hi,
Can someone please confirm if Django running on a linux machine does
not currently support MS SqlServer?
regards,
Filipe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
On 6/28/06, spako <[EMAIL PROTECTED]> wrote:
> is there a way to achieve this? or should i not bother and just do have
> a Comment Model and just have VideoComment and UserComment have a
> OneToOneField to Comment?
Generally when you want to do something like this you define only one
model, and
hi
i'm trying to create a class that contains fields that can be inherited
by Model classes like this (User and Video also inherit from Model):
class Comment:
author = models.ForeignKey(User)
comment = models.TextField()
date_commented = models.DateTimeField(auto_now_add=True)
On 6/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> A total newbie question here, but is there a way to specify the engine
> I would prefer when defining models for applications. Would really
> prefer MyISAM, but MySQL keeps creating InnoDB when the tables are
> automatically created.
Hi!,
I'm trying to exclude objects by a many-to-many field to self, but I haven't
had any success so far.
The model I use (just an example one, not the one I'm going to use this
for):
---
class Color(models.Model):
the_color =
> It sounds like you might have two versions of Python installed. You
> should confirm that the shebang line in ./manage.py is for the right
> version. Alternatively, running 'python manage.py syncdb' should work.
The shebang says "#!/usr/bin/env python", which returns 2.4.3 when
asked. (So does
Hi,
I downloaded the svn version of django a couple of weeks ago, and had
it working fine within Debian. I installed Ubuntu 6.06 today, and my
django install has stopped working.
I can run python interactively and type "import django" and get no
errors, but when I go into our project directory
Turns out it's because I had "default='09:00' in my model. I guess it
needs a time entry, not a string entry.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
Oh... ok.
So I can keep the changes in my code, I simply need to be a bit patient :-)
That's good news. Thanks for the effort!
G
On 6/28/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
>
> On Jun 28, 2006, at 7:08 AM, Guillermo Fernandez Castellanos wrote:
> > I'm trying to modify my
Is there a way for me to specify template blocks in code? I want,
instead of overriding the "content" template from a file, to do it in
code. Is this possible?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
On Jun 28, 2006, at 7:08 AM, Guillermo Fernandez Castellanos wrote:
> I'm trying to modify my blogging application using the new
> GenericRelation and GenericForeignKey, keeping the tagging concept as
> easy as posible.
>
> The problem is, once the modifications made, I can not find a tag
> field
Ah, that's what I needed, thanks a lot :)
--~--~-~--~~~---~--~~
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,
Hi,
I'm trying to modify my blogging application using the new
GenericRelation and GenericForeignKey, keeping the tagging concept as
easy as posible.
The problem is, once the modifications made, I can not find a tag
field in the Admin interface. It says "Could not find Formfield or
Hi Poromenos.
you can set up a context processor to do this.
check out
http://svn.zyons.python-hosting.com/trunk/zilbo/common/utils/
context_processors.py
for 2 simple ones and
http://svn.zyons.python-hosting.com/trunk/zilbo/settings.py.tmpl
(the very bottom)
on how to configure it
regards
Ian
Is there a way for me to pass a variable in every template context
without writing custom template tags? I just want to pass the app name
because I'm not comfortable with hardcoding it, but template tags seem
too much work for something as simple as this.
Isn't there something like a globals
On 6/28/06, mohan <[EMAIL PROTECTED]> wrote:
> I understand that. But what about Generic Foreign Keys.. Can anyone
> give a simple example illustrating this case..
Generic foreign keys don't help either; they take a content-type ID
and an object ID, and the object with that ID still has to
Hi everyone,
A few days ago we released the screencast of our control panel
(http://blog.webfaction.com/control-panel-demo) which showed, amongst
other things, how to setup a default Django site in a few clicks.
Now we'd like to make another screencast showing how to setup a
real-world Django
On 6/28/06, Julio Nobrega <[EMAIL PROTECTED]> wrote:
> Django | Python: We indented jazz (some people say jazz' magic is
> the space between the notes, a definition that I love)
that's great :)
I had 'the Djoy of Django' in my head as a title for The Book.
--
Derek
> The boolean "is_deleted" flag on the Centre class may be your best
> bet, since it lets you filter "deleted" Centres out of most results
How to filter rows from default admin views.. I tried a couple of
things but it did not work.
--~--~-~--~~~---~--~~
You
> A database can only maintain relationships between two objects if both
> objects actually exist in their respective tables.
I understand that. But what about Generic Foreign Keys.. Can anyone
give a simple example illustrating this case..
--~--~-~--~~~---~--~~
Hi Folks,
I've just tried to add a time field to one of my models, and then I
ran:
ALTER TABLE blah ADD COLUMN blah_blah TIME;
UPDATE blah SET blah_blah='09:00:00'
I restarted apache, and I can see my current entries are showing 9am
correctly in the new "blah_blah" field, but when I try to add
After my last svn update to django, calling an admin page produces the
following
error: tried urls in module django.contrib.admin. Error was: 'module'
object has no attribute 'urls'
debugging position django\core\urlresolvers.py in get_callback line 123
the debugger shows me that
On Wednesday 28 June 2006 05:11, Jacob Kaplan-Moss wrote:
> On Jun 27, 2006, at 10:04 PM, Julio Nobrega wrote:
> > Django | Python: We indented jazz (some people say jazz' magic is
> > the space between the notes, a definition that I love)
>
> Ha -- that one makes me laugh... :)
+1, 'we
57 matches
Mail list logo