On 6/21/06, mamcxyz <[EMAIL PROTECTED]> wrote:
> Exactly the point: You don't know my situation and simply tell "switch
> your EXPERIENCE to product XX... is easy!!" is a dangerous proposition.
That's because most people never had to work in mixed environment
shops. I get to support Novell NetWar
plungerman wrote:
> perfect, just what we needed. one thing i noticed, however, is that
> this manoeuvre does not work with 404.html and 500.html type pages.
This is because they use a simple Context, not RequestContext.
> we
> have custom templates for those two errors, and the variable is n
On 6/21/06, Mikeal Rogers <[EMAIL PROTECTED]> wrote:
> class Item(models.Model):
> name = models.Charfield(maxlength=100)
> user = models.ForeignKey(User)
>
> def get_user_name(self):
> return self.user.name
>
> class Admin:
> list_di
Well, that fixed it. I guess development using mod_python can be a
little cumbersome.
--~--~-~--~~~---~--~~
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@googlegro
I'm trying to display my records based on date. I've removed
object.list... same result, page returns the same error message.
It's weird, because it was working fine just a few minutes ago.
--~--~-~--~~~---~--~~
You received this message because you are subscribe
On Thu, 2006-06-22 at 03:47 +, Patrick J. Anderson wrote:
> Hi, I've been working with date_based generic views in my application,
> and while everything was going great, all of a sudden I'm getting this
> error on, while trying to access records for a specific month:
>
>
> ViewDoesNotExist
Hi, I've been working with date_based generic views in my application,
and while everything was going great, all of a sudden I'm getting this
error on, while trying to access records for a specific month:
ViewDoesNotExist at /projects/2006/jun/
Could not import django.views.generic.date_based.ar
On 6/21/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote:
> Have a look at my
> http://code.djangoproject.com/wiki/AJAXWidgetComboBox . I've actually
> got an update to it that uses the new dojo.widget.Select widget (that
> I wrote incidentally :), plus a bunch of template tags to make it
> easier t
Hiya,
Here is my issue I have a Model like this
class Item(models.Model):
name = models.Charfield(maxlength=100)
user = models.ForeignKey(User)
def get_user_name(self):
return self.user.name
class Admin:
list_display = ('name', 'g
On 6/22/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
> On 6/21/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
> > For that, you could use either the "limit_choices_to" or
> > "raw_id_admin" field options.
>
> I've seen the Ellington admin and the fact that it uses raw_id_admin a
> good bit. I wa
On Wed, 2006-06-21 at 12:08 -0700, loki77 wrote:
> I am messing with a server database that I've written in Django, and
> I'm running into something that for some reason I can't figure out.
>
> Just some dependency info:
> * Using Django from the svn repository- checked out revision 3189.
>
> I
Jeremy Dunck wrote:
> I've seen the Ellington admin and the fact that it uses raw_id_admin a
> good bit. I was thinking about making an auto-complete widget.
>
> Something like:
>
> class Article(models.Model):
> headline=TextField()
>
> class Reporter(models.Model):
> favorite_articles = m
Yes, apt/yum is the way to go. Unfortunally, the packages availables
for CentOS 3 are not
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
On 20/06/06, Michael Radziej <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I really found I don't need a debugger for Django. If I have a
> problem, I set some random variable to the data I am interested
> in and raise a non-existing exception, like:
>
> bla = user.__dict__
> raise Bla
>
> Then I dea
Yes, I've found the code reuse to be a difficult sometimes because of
the naive thinking one view becomes one template. There needs to be a
way to flick a switch and render_to_response no longer return a
HttpResponse, but instead a dictionary of the context. Unless you make
all your views take a b
On 6/21/06, Luke Plant <[EMAIL PROTECTED]> wrote:
> I'm a WebFaction customer and I have to say I'm very impressed with them
> so far. With zero experience of Trac I used their control panel to set
> up a working Trac instance in a few minutes, as well as a Django app.
> Switching the Django sour
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
mamcxyz wrote:
> Wow!
>
> Exactly the point: You don't know my situation and simply tell
> "switch your EXPERIENCE to product XX... is easy!!" is a dangerous
> proposition.
>
It depends on which infrastructure you have.
> But, before to start t
On Wednesday 21 June 2006 19:09, Jeremy Dunck wrote:
> > The demo is available at:
> > http://blog.webfaction.com/control-panel-demo
> >
> > Remi.
> > http://www.webfaction.com - Hosting for an agile web
>
> Scary-cool.
I'm a WebFaction customer and I have to say I'm very impressed with them
s
On Tuesday 20 June 2006 17:17, coulix wrote:
> when i add a tag element via the admin interface, or from a blog
> entry. total_ref is always null. why doesnt it get affected to 28 ?
> thanks
It looks OK to me. I do have similar code that sets values like this,
so it should work.
To debug, try
On 6/21/06, mamcxyz <[EMAIL PROTECTED]> wrote:
> 2- From the info I get, Apache support is not widely spread, mod-python
> can have memory leaks?? (Maybe was a past version?) or the RAM
> requeriments are more than my actual VPS, so I need to chosee other
> option, and in a lot of places and opini
mamcxyz,
I've had pretty good luck with Fedora Core 4. Here are my (terse) notes
from setting up Django and my blog on FC4 a couple of weeks ago. Note
that FC4 already had MySQL 4.1.x and Python 2.4.1 and Apache 2.0.54
(with mod_python) so I just went with them. On Windows I use MySQL 5
but I hav
Wow!
Exactly the point: You don't know my situation and simply tell "switch
your EXPERIENCE to product XX... is easy!!" is a dangerous proposition.
But, before to start to make claims:
- Yes, I'm from a Windows background, and I found django *itself* easy
to grasp. However, something that is pa
>
> Why are you using oids? For one, they are pretty much deprecated in
> newer versions of Postgres. Second, the user should never create or
> modify this value. Could be that your oid column name conflicts with
> something low level in Postgres or psycopg.
>
> If you need a serial value for your
On Jun 21, 2006, at 1:00 PM, Jay Parlar wrote:
> class TestProduct(models.Model):
> oid = models.PositiveIntegerField()
> product=models.OneToOneField(Product, related_name="test_oid")
>
Why are you using oids? For one, they are pretty much deprecated in
newer versions of Postgres. Sec
Oh jeez, nevermind. My double quotes around the product_name value is
what's wrong. Arg.
Jay P.
--~--~-~--~~~---~--~~
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Jeremy Dunck wrote:
> On 6/21/06, Lucas Vogelsang <[EMAIL PROTECTED]> wrote:
>> I think we pretty all know how painfull this is(not at all).
>> Django on it's own is very easy to setup on any Linux. Maybe the
>> packages you needed were hard to in
period?
On 6/21/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
> On 6/21/06, Lucas Vogelsang <[EMAIL PROTECTED]> wrote:
> > I think we pretty all know how painfull this is(not at all). Django on
> > it's own is very easy to setup on any Linux. Maybe the packages you
> > needed were hard to install
I've got an app that has the following models:
class Product(models.Model):
product_name = models.CharField(maxlength=64, blank=False)
class Admin:
pass
def __str__(self):
return self.product_name
class TestProduct(models.Model):
oid = models.PositiveIntegerFiel
Thanks!
>From the doc:
include
Loads a template and renders it with the current context. This is a way
of "including" other templates within a template.
The key is the *with current context* bit ...
Julio Nobrega wrote:
> {% include 'file.html' %}
>
> http://www.djangoproject.com/documentati
On Jun 21, 2006, at 11:20 AM, Douglas Campos wrote:
> Do we have some kind of spam filter at googlegroups? these marketing
> spam is very annoying
>
It's actually not too bad, but I usually report spam to Google abuse.
When you read the message at Google, there's a link called "Show
Options"
On 6/21/06, Lucas Vogelsang <[EMAIL PROTECTED]> wrote:
> I think we pretty all know how painfull this is(not at all). Django on
> it's own is very easy to setup on any Linux. Maybe the packages you
> needed were hard to install.
Wow, that was amazingly unhelpful.
mamcxyz is coming from Windows-l
{% include 'file.html' %}
http://www.djangoproject.com/documentation/templates/#include ?
On 6/21/06, hubritic <[EMAIL PROTECTED]> wrote:
>
> I haven't seen this addressed in the documentation ... Say I want to
> have a poll on how self-indulgent my blog post is. What I see in the
> tutorial sh
On 6/21/06, mamcxyz <[EMAIL PROTECTED]> wrote:
>
> I'm triying to setup a linux box with django, and frankly, I never
> spect this task can be so HARD. Every step is a nightmare, I need
> compile everything, the YUM/APT only have out-dated versions of the
> things I need to run django.
I have the
I haven't seen this addressed in the documentation ... Say I want to
have a poll on how self-indulgent my blog post is. What I see in the
tutorial shows how to make use a poll template and how to use a blog
template, but I don't see how to use them both on the same page.
I know that Django templa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
You are talking rubbish. Maybe LFS(Linux from scratch) is hard to
install, but on a debian/ubuntu it takes about 5mins.
you mean that all the packages you need have up to date versions for
windows but not for linux?
I think we pretty all know h
thanks, that works great.
--~--~-~--~~~---~--~~
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
mamcxyz wrote:
> Ok. Thanks
>
> If some progress is made I'm can test it. So back to mysql :(
>
It's progress, not regress.
;)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Signed with GPG & Enigmail - see http://www.vinc
Sorry, I forgot to mention: There are around 300 servers WITHOUT the
nopush tag in the database, and that's the set of servers I would like
to return.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" g
I am messing with a server database that I've written in Django, and
I'm running into something that for some reason I can't figure out.
Just some dependency info:
* Using Django from the svn repository- checked out revision 3189.
I have two types of objects (well, more, but the others aren't in
Also take in account that this "not problem, switch to XXX because is
linux" mean lost of expertise.
I'm triying to setup a linux box with django, and frankly, I never
spect this task can be so HARD. Every step is a nightmare, I need
compile everything, the YUM/APT only have out-dated versions of
Just wondering if there is a best practice for filling in forms
(especially when you are coming back and editing a pre-filled in
form).
Does anyone have any magic or it is just putting selected,checked,etc
attributes on the model and iterating/testing for the attribute in the
template?
looking f
On 6/18/06, Ivan Sagalaev <[EMAIL PROTECTED]> wrote:
> P.S. Looks like Allan considers this as a bug and is going to fix it.
He did:
http://www.saddi.com/software/news/archives/34-EPIPE-no-longer-ignored.html
--
Jeroen Ruigrok van der Werven
--~--~-~--~~~---~--~---
I'm no expert either, but this seems to work for me:
fp = StringIO()
myImage.save(fp, 'jpeg') # or whatever format
self.save_thumbnail_file(myName, fp.getvalue())
Nice thread. I was just fixin' to get to this for my demo app.
Thanks!
doug.
--~--~-~--~~~---~--~---
Do we have some kind of spam filter at googlegroups? these marketing
spam is very annoying
--~--~-~--~~~---~--~~
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@googl
On 6/21/06, Remi <[EMAIL PROTECTED]> wrote:
> The demo is available at: http://blog.webfaction.com/control-panel-demo
>
> Remi.
> http://www.webfaction.com - Hosting for an agile web
Scary-cool.
I have a friend that runs an IIS/ASP ISP. I sent him a link. This'll
give him a kick in the pants.
On 6/21/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
> For that, you could use either the "limit_choices_to" or
> "raw_id_admin" field options.
I've seen the Ellington admin and the fact that it uses raw_id_admin a
good bit. I was thinking about making an auto-complete widget.
Something like:
Hello
Now, I am sharing with you
another website that is excellent for IT Jobs.
Currently, this website has
more than 6000 IT Jobs And 100 new IT Jobs are coming
daily.
Please check this link and enjoy
your dream job.
www.it-jse.com
Special thing about this website
is, they are present
Hi,I'm having trouble with default values in my model. I've tried to establish what the default for a column should be when the input doesn't supply a value. The model defaults seem to work fine when using django's python shell, but when I use either the admin interface or my own view, the defaul
On 21/06/06, djx <[EMAIL PROTECTED]> wrote:
*snip*
Okay, so my original post was a bit vague, but I'll have another stab
at explaining.
-- Start example code
--- /blogs/models.py
...
class Blog(Model):
title = CharField(maxlength=60, core=True, unique=True)
tagline = CharField(maxle
No worries. I'm actually parsing the URL with some JavaScript to get
it done. It actually works pretty nicely, and it means I don't have to
dig into the DOM to pull out the value (although with MochiKit,
digging into the DOM is almost a joy to do)
Thanks,
Jay P.
--~--~-~--~~-
Oh, damn. I just re-read your message and realized you already tried
that. Sorry, reading too fast. :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to djang
I don't think you can display an automatically-added ID field in the
Admin, since it's not present in the Model class. But, I think you can
probably just add "id = models.AutoField(primary_key=True)" to your
model and then display it in the admin.
I think. :)
--~--~-~--~~---
On Wed, 2006-06-21 at 11:53 -0400, Jay Parlar wrote:
> On 6/21/06, Thomas Ashelford <[EMAIL PROTECTED]> wrote:
> >
> > I've been trying to source a copy of PyTextile 1.3 to use in a Django
> > application I'm building, but the dealmeida.net server is down. Is
> > there any kind soul out there who
On 6/21/06, Thomas Ashelford <[EMAIL PROTECTED]> wrote:
>
> I've been trying to source a copy of PyTextile 1.3 to use in a Django
> application I'm building, but the dealmeida.net server is down. Is
> there any kind soul out there who could email a copy at
> thomas-at-ether.com.au?
>
I was lookin
I've been trying to source a copy of PyTextile 1.3 to use in a Django
application I'm building, but the dealmeida.net server is down. Is
there any kind soul out there who could email a copy at
thomas-at-ether.com.au?
--~--~-~--~~~---~--~~
You received this message
Is there anyway to show what an object's primary key id is in the Admin?
I tried adding "id" to the fields list, but that generates an error. I
then tried having an explicit id, ie.
id = models.AutoField(primary_key=True)
but it was still no good.
Essentially what I'm trying to do is grab the
On 6/21/06, Patrick J. Anderson <[EMAIL PROTECTED]> wrote:
> There are a few small admin interface issues I'd still need to work
> out, mainly I might have a similar number of records related to
> articles (the number of article assignments might be slighltly smaller
> to the number of articles, l
Thanks, guys! That's what I thought, but it helps to have a
conformation, Wilson:). Great job on Django!
There are a few small admin interface issues I'd still need to work
out, mainly I might have a similar number of records related to
articles (the number of article assignments might be slighlt
On 6/21/06, aCiD2 <[EMAIL PROTECTED]> wrote:
> Also, out of curiousity - why do you -need- MSSQL?
I -need- MSSQL in the same sense that I -need- computers at all.
Strictly speaking, I don't. But it's very useful.
I "need" it because I have a few hundred thousand customers using an
application b
> The World Online admin
> interface (where Django was born) has a number of content types with
> tens of thousands -- if not hundreds of thousands -- of records.
393,181 stories and counting...
On 6/21/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 6/21/06, Patrick Anderson <[EMAIL PROTE
perfect, just what we needed. one thing i noticed, however, is that
this manoeuvre does not work with 404.html and 500.html type pages. we
have custom templates for those two errors, and the variable is not
available in those templates. anyone have a suggestion how one might
make the variable a
On 6/21/06, Patrick Anderson <[EMAIL PROTECTED]> wrote:
> We have about 80,000 records which we will need to migrate. I'm wondering
> how Django admin interface would deal with such amount of data (they
> are of the same type, so they might be managed by a single app). I know
> Django comes from t
Hi GrigoryOn 6/21/06, Grigory Fateyev <[EMAIL PROTECTED]> wrote:
http://code.djangoproject.com/wiki/RemovingTheMagic#IncludetemplateextensionexplicitlyI don't think that's the problem. In my urlconf I have:
(r'^json/trails/(?P\d+)/$', 'trail_detail_json', {'template_name': 'json/d
Hello everyone,
There is now a screencast demo of the WebFaction control panel.
This screencast was shown to Adrian and Simon at a London Python meetup
and they were quite enthusiastic about the control panel and the way we
setup Django sites (we give each Django user their own Apache2 instance
Hello petef!
On Wed, 21 Jun 2006 12:47:19 - you wrote:
>
> I've been developing an app (http://preview.sharing-places.com)
> against Django v0.91. A little while back I started a branch on my
> local dev machine (an OS X laptop) to incorporate the magic-removal
> changes. I've suspended work
kwe wrote:
> I guess this means "if the PIL Image class can be used directly as
> input to the save_FIELD_file() call." - it can't ?
>
> sorry new to python and just want to check I'm reading the error
> correctly. Any ideas on how to change the type?
Again, I'm not somewhere I can confirm thi
I've been developing an app (http://preview.sharing-places.com) against
Django v0.91. A little while back I started a branch on my local dev
machine (an OS X laptop) to incorporate the magic-removal changes. I've
suspended work on that branch for the time being to carry on with bug
fixing and addi
Request Method: POST
Request URL:http://localhost:8000/admin/photos/photo/add/
Exception Type: TypeError
Exception Value:argument 1 must be string or read-only buffer, not
instance
Exception Location:
/usr/local/lib/python2.4/site-packages/django/db/models/base.
Hi!
I'm impressed with Django and all the fuss that it removed from my
development. Our organisation is considering moving our document
management from an old Access db to PostgreSQL and I thought of using
django as an admin interface, plus public interface (sometime down the
line.)
We have abou
GenericRelations looks like a good fit for logging/auditing.
eg.
lion.log.create(action="create", action_by="userA")
lion.log.create(action="modify", action_by="userB", field="weight",
value="100")
lion.log.create(action="modify", action_by="userB", field="weight",
value="120")
lion.log.create(act
Thanks for your insight Jay.
I tried using the {{ form.error_dict }} on my page and all I got was
an empty dictionary.
Thanks again.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
Hi Malcom,
> I am not 100% certain what you are wanting to display in the repeating
> section of the form. Is it every photo in the system? Or maybe every
> photo associated with the existing "repair" instance? Sorry for being
> dense; I'm trying to work out the context from some code fragments
>
On Tue, Jun 20, 2006 at 06:58:46PM -0400, Jay Parlar wrote:
> Well, as it stands right now, I only need this to make sure that text
> entered into the Admin is ok, and that's all by trusted users, so
> Beautiful Soup might do it.
>
> But what about the comments framework? I guess people are just
Why not postgres? I've grown to love this db system, you might too.
Also, out of curiousity - why do you -need- MSSQL?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, sen
74 matches
Mail list logo