On 21-Jul-06, at 11:12 AM, Harish Mallipeddi wrote:
> I found this page : http://code.djangoproject.com/wiki/
> SummerOfCode2006, but it seems to have not been updated after the
> results were announced. I'm interested in playing with a couple of
> ideas on this page, but it will be better
Hi,I'm wondering if there's a page somewhere containing the list of django projects being funded as part of the Google SoC 2006. I found this page :
http://code.djangoproject.com/wiki/SummerOfCode2006, but it seems to have not been updated after the results were announced. I'm interested in playin
Adrian,
thanks for the response...
I have already implemented a CGI interface for Django... I'm still in a
test phase but so dar it does look prety good.
And the performance it not really bad. I don't have any comparison with
a FCGI or mod_python installation, but it fast enough for my needs.
On 7/21/06, Sean Schertell <[EMAIL PROTECTED]> wrote:
>
> Thanks for presenting a different angle. I imagine you're one of
> these long-bearded guys who uses NetBSD and Fluxbox as his main
> desktop OS and edits code in VI through a tsch shell ;-)
Ubuntu Dapper and Gnome. (I need Unix on commodi
Thanks so much for your reply Adrian! Can you also please comment a
bit on how well Django works in a shared environment?
> How about memory footprint? Can I run 100+
> Django sites on a shared server and expect smooth sailing?
Thanks!
Sean
--~--~-~--~~~---~--~-
Hi all!
After some time I've managed to be able to run Django 0.91 and and
the SVN version together on Dreamhost. I had a few projects done in
0.91 and I couldn't simply "svn update" the django_src directory.
I don't know if this is useful to anyone else (perhaps to people on
similar situa
On 7/14/06, Martin Glück <[EMAIL PROTECTED]> wrote:
> Can anybody give me tip where I should start looking? My assumption is
> that I need to create a kind of "Request" object and then call the
> current Django "entry" function to get the response back.
>
> Or do you think I it's not worth the eff
Thanks for presenting a different angle. I imagine you're one of
these long-bearded guys who uses NetBSD and Fluxbox as his main
desktop OS and edits code in VI through a tsch shell ;-)
For me? OS X and TextMate plus some well thought-out framework that
allows me to get from A to Z in __as
On 7/20/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 7/20/06, Sean Schertell <[EMAIL PROTECTED]> wrote:
> > (1) Portable apps across projects architecture. From what I've read,
> > it sounds like a perfect fit for what I want to do. Is it really that
> > great?
>
> Yes. It is that great.
On 21-Jul-06, at 6:56 AM, Ian Holsman wrote:
>> It's exactly what you're looking for, in that respect. And thanks for
>> indirectly encouraging us to advertise this feature more...
>
> It's the main reason I chose to develop my first app in Django,
> instead of Rails, and from then I've been h
On 21-Jul-06, at 12:28 AM, Jacob Kaplan-Moss wrote:
> @login_required
> def report_list(request):
> context = {"reports" :
> Report.objects.filter(owner=request.user)}
> return render_to_response("report_list.html", context)
>
> (assuming, of course, a ``
Allow me to offer a dissenting view. I recently faced the task of
finding a Python-based framework to use at work and tried several,
including Django. I finally settled on using CherryPy with Kid. (Which
is what TurboGears is doing, but with a lot of extra cruft thrown in.
And btw, the TurboGears
+1 on the portability of apps. We're doing something very similar for
our client projects.
Since moving to Django we have:
- increased our cash flow by being able to hammer out more
"small-ish" projects in a shorter amount time
- decreased our dev time -- we're finding ourselves waiting on
cl
Jacob Kaplan-Moss wrote:
> On Jul 19, 2006, at 7:49 AM, Uros Trebec wrote:
> > Does anyone know how to use this thing?
>
> I do :)
That's good to hear! :)
> But you're really going to need to give me more information about
> what you're trying to do in order for me to help. Remember: specific
What are you trying to figure out exactly?Content Types are basically meta data describing your application's models.It gives you a database wide method of uniquely identifying a object.this allows you to do stuff like:have a global redirect mechanism /r//allow you to add tags or comments to any o
On 21/07/2006, at 11:22 AM, Adrian Holovaty wrote:(1) Portable apps across projects architecture. From what I've read, it sounds like a perfect fit for what I want to do. Is it really that great? Yes. It is that great. :) It's really interesting that you see that as one of Django's main strengths,
Aidas Bendoraitis wrote:
> You can learn about ContentTypes from
> http://www.djangoproject.com/documentation/models/generic_relations/
> and also from the code of django.contrib.comments
Thank you very much for this one! I'll try to figure it out.
regards,
Uros
--~--~-~--~~--
On 7/20/06, Sean Schertell <[EMAIL PROTECTED]> wrote:
> (1) Portable apps across projects architecture. From what I've read,
> it sounds like a perfect fit for what I want to do. Is it really that
> great?
Yes. It is that great. :) It's really interesting that you see that as
one of Django's main
Greetings Djangoers,
I'm thinking of defecting from the Ruby on Rails camp because I think
Django may be more in line with what I want to do. If you have a
couple minutes, could you please tell me if I'm on the right track?
What I want to do
===
Basically, I want to
On Thu, 2006-07-20 at 10:41 -0700, markguy wrote:
> Derek,
>
> I appreciate the followup. That works, but I have to say, I don't
> understand *why* it works! It's as if Django automagically follows
> ForeignKeys, without having to call select_related().
It is exactly like this. The select_relate
After I read Jeff Croft's blog entry, I realized that I'd written a
step by step "how to install" for Django on MacOS X, and that it might
be nice to publish it somewhere... So I have tacked it up on my blog
http://www.rhonabwy.com/wp/2006/07/20/installing-django-on-macos-x-development-version/
On Thu, 2006-07-20 at 15:10 -0700, Carl Holm wrote:
> More specifically, it does print the help message, but does not create
> the mysite directory.
This has been reported before, although it's not a universal problem
(and it is Windows specific). Ticket #1507.
The problem is that for some reas
On Thu, 2006-07-20 at 22:31 +0200, Neilen Marais wrote:
> Malcolm,
>
> On Thu, 20 Jul 2006 16:56:22 +1000, Malcolm Tredinnick wrote:
[...]
> >
> > Here's a solution that I prepared earlier (it talks about finding all
> > groups containing a subset of people, but it's the same problem):
> >
> >
On Jul 20, 2006, at 4:49 PM, Brian Hamman wrote:
> I'd really appreciate suggestions or advice others have from solving
> similar problems. What are some ways that others have organized
> multiple apps/projects/sites?
You're on the right track to think about putting the apps outside the
project
On 21/07/2006, at 7:49 AM, Brian Hamman wrote:Hey there,I'm working on a project that will run several related news sites froma single Django installation. I'll be treating each site as a separateproject, complete with its own settings.py file and corresponding useof the sites framework.Where I run
More specifically, it does print the help message, but does not create
the mysite directory.
CL
Jacob Kaplan-Moss wrote:
>On Jul 20, 2006, at 4:36 PM, [EMAIL PROTECTED] wrote:
>
>
>>Running 'django-admin.py startproject mysite' does nothing in new
>>installation
>>of o.95-py2.4 on WinXP. Any
Hey there,
I'm working on a project that will run several related news sites from
a single Django installation. I'll be treating each site as a separate
project, complete with its own settings.py file and corresponding use
of the sites framework.
Where I run into trouble is with apps that are co
On Jul 20, 2006, at 4:36 PM, [EMAIL PROTECTED] wrote:
> Running 'django-admin.py startproject mysite' does nothing in new
> installation
> of o.95-py2.4 on WinXP. Anyone run into this before?
Do you mean it prints nothing (it's supposed to succeed silently like
good tools should) or it doesn't
Hello,
Running 'django-admin.py startproject mysite' does nothing in new
installation
of o.95-py2.4 on WinXP. Anyone run into this before?
Thanks,
Cl
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
Well I switched to per view caching and it went off quite easily.
Thanks for the encouragement.
--~--~-~--~~~---~--~~
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
Malcolm,
On Thu, 20 Jul 2006 16:56:22 +1000, Malcolm Tredinnick wrote:
>> > I think you want to use:
>> >
>> > Image.objects.filter(tags__id__in=[1,2]).distinct()
>>
>> Alas, this returns all the images with tag1 OR tag2. I'm looking for
>> images with tag1 AND tag2.
>
> Here's a solution tha
On Thu, 20 Jul 2006 13:58:10 -0500
Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
> The auth docs are probably the best place to start: http://
> www.djangoproject.com/documentation/authentication/.
>
> Here's a quick example of a way you might do a page that
> requires login and only shows the l
On Jul 20, 2006, at 1:49 PM, Josh Trutwin wrote:
> I was browsing through the docs and tutorials but I'm not sure what
> is the best place to look for how to implement the login portion.
> I imagine this would require some use of sessions.
>
> Any tips/pointers?
The auth docs are probably the bes
Hello,
Did you read http://www.djangoproject.com/documentation/authentication/ ?
On 7/20/06, Josh Trutwin <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I was browsing through the docs and tutorials but I'm not sure what
> is the best place to look for how to implement the login portion.
> I imagin
Hi,
Fairly new to Django, I'm looking to use it to implement a quick
and dirty status report system. I want people in our team to go to
a page where they will have to login, after that they can view and
add their status reports. I don't want them able to view other
members reports, just their o
So, label_ingredient.ingredient.get_absolute_url will work. That's
astonishing, both in it's coolness factor and in the fact I never
picked up on it while reading docs, tutorials and forums.
I'm still not sure I understand how Django manages to know to go get
the Ingredient object, but I'm willin
On 7/20/06, markguy <[EMAIL PROTECTED]> wrote:
>
> Derek,
>
> I appreciate the followup. That works, but I have to say, I don't
> understand *why* it works!
that's good :)
The thing that's hard to pick up is that the ORM (db) stuff isn't
quite object-oriented, in the sense that you can't just u
Derek,
I appreciate the followup. That works, but I have to say, I don't
understand *why* it works! It's as if Django automagically follows
ForeignKeys, without having to call select_related().
It's also highly confusing that you call
'labelingredient.ingredient.name' and not
'labelingredient.in
Hi Folks,
We're looking to hire a Web Developer with Django experience for a new
funded startup in Montreal, Canada. Please see the job description
below. Appologies in advance if this is not the right group for this
type of posting.
Regards,
Alex
Project: www.project-ojibwe.org
Job Opportunit
Hello Grigory Fateyev!
On Thu, 20 Jul 2006 15:50:22 +0400 you wrote:
>
> Hello James Bennett!
> On Wed, 19 Jul 2006 11:32:00 -0500 you wrote:
>
> >
> > On 7/19/06, Grigory Fateyev <[EMAIL PROTECTED]> wrote:
> > > Now I do like so:
[...]
Maybe I cann't find any mistake?
--
÷ÓÅÇÏ ÎÁÉÌÕÞÛÅÇÏ!
That's excellent - strange I came across the problem right at the same
time you were fixing it ;)
-P
On 20/07/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
>
> On Jul 20, 2006, at 4:45 AM, Phil Powell wrote:
> > It seems odd that this doesn't seem to have popped up as a common
> > issue, if i
On Jul 20, 2006, at 4:45 AM, Phil Powell wrote:
> It seems odd that this doesn't seem to have popped up as a common
> issue, if it is indeed something related to site-wide caching - it's
> definitely a bit of a show-stopper when it comes to having a client
> using an admin interface which doesn't
On 7/19/06, Phil Powell <[EMAIL PROTECTED]> wrote:
> Is there a simple way to disable caching for admin? Or should it
> happen automatically?
Probably the best way to handle this is to cache only pages that
*aren't* being served to a logged-in user; this has several
advantages:
* The admin isn'
Carlos,
I would definitely like to hear from you. I dont have shell access but
have FTP. If you can share your experience, may be I will try and setup
mine too.
Thanks a lot
Joseph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
On 20-Jul-06, at 8:03 PM, Nebojsa Djordjevic wrote:
>> my one crib is that he has dropped python2.3.5 compatibility, but
>> this is only in the decorator part and easily changed - 3-4 changes
>> in one file
>>
>
> And it's done ;) No more 2.4 requirements.
cool
--
regards
kg
http://lawgon.li
On Jul 20, 2006, at 9:56 AM, Simon Willison wrote:
>
> On 20 Jul 2006, at 15:47, walterbyrd wrote:
>
>> If I were "up to speed" with python and django, could I develop as
>> quickly as I could with a code generator?
>
> Yes. As a general rule, code generators are unnecessary if you are
> using a
On 20 Jul 2006, at 15:47, walterbyrd wrote:
> If I were "up to speed" with python and django, could I develop as
> quickly as I could with a code generator?
Yes. As a general rule, code generators are unnecessary if you are
using a sufficiently dynamic language (such as Python). Historical
I am looking to make some basic office productivity apps. Stuff like:
timesheets, asset management, inventory management, contact management,
helpdesk. I know there is stuff that's already out there, but it's not
what I really want.
I know thre is a learning curve, either way. I think django woul
Kenneth Gonsalves wrote:
>
> On 19-Jul-06, at 9:27 PM, arthur debert wrote:
>
>> You should also take a look at nesh's excellent
>> ImageWIthThumbnailField:
>>
>> http://djangoutils.python-hosting.com/wiki/Thumbnails
>
> my one crib is that he has dropped python2.3.5 compatibility, but
> this
Hi,
> 1) Am I right in thinking that decorators were only introduced in Python 2.4?
yes, decorators were introduced in Python 2.4. But you don't have to use
them.
A non decorator syntax would be:
myview = cache_page(myview, 900)
> 2) This would mean overriding the admin views for every appli
That's right!
I found out that myself and posted on "Nesh django utils" a few hours
ago.
Regards.
Enrico
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
Enrico wrote:
> Hi,
>
> I got it working in the model by using:
> from nesh.thumbnail.field import ImageWithThumbnailField
>
> But I couldn't apply the filter in the template. What is needed to use
> the filters?
>
> Nesh apps are in the "site-packages/nesh" Python Lib folder.
>
> The closer I
On 7/20/06, markguy <[EMAIL PROTECTED]> wrote:
>
> I'm not sure I understand. Would the template have it's ingredient info
> when it gets to the template? I'm off to mess about with this now, but
> I don't see...
If your LabelIngredient model has an attribute 'ingredient' (which is
a ForeignKey),
Awake, Fear Fire Foes!
I finally made it! After hitting many walls with customer support at
Servage.net, I got Django runnning on their servers!
Following on the steps of Jeff Croft's excellent DreamHost tutorial, I
first installed Django on BlueHost (with a couple of modifications
that I'll hav
I'm not sure I understand. Would the template have it's ingredient info
when it gets to the template? I'm off to mess about with this now, but
I don't see...
Err, wait. Are you suggesting grabbing all the Ingredients in a hash...
err, dict, whatever Python calls it, then pulling LabelIngredients?
Hello James Bennett!
On Wed, 19 Jul 2006 11:32:00 -0500 you wrote:
>
> On 7/19/06, Grigory Fateyev <[EMAIL PROTECTED]> wrote:
> > Now I do like so:
[...]
>
> Unless I'm missing something, what you want is:
>
> date_list = []
> year_list = Article.objects.order_by('-pub_date').dates('pub_date',
On 7/20/06, Rajeshwar Singh Jenwar <[EMAIL PROTECTED]> wrote:
> django.core.exceptions.ImproperlyConfigured: Could not load
> database backend: No
> module named pysqlite2. Is your DATABASE_ENGINE setting (currently,
> 'sqlite3')
> spelled correctly? Available options are: 'ado_mssql', 'mysql',
>
Hi All,
I m new to Django.
I have intalled django. Using RH FC4.
I m practising "Writing your first Django app, part 1".
But when i m running "python manage.py runserver" i m getting error.
-
reported to the abuse service of google groups
--~--~-~--~~~---~--~~
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,
Thanks for the feedback guys - good to know that I'm not alone in
seeing this behaviour.
It seems odd that this doesn't seem to have popped up as a common
issue, if it is indeed something related to site-wide caching - it's
definitely a bit of a show-stopper when it comes to having a client
using
On 7/20/06, markguy <[EMAIL PROTECTED]> wrote:
>
> Actually, that leaves out the order information from LabelIngredients.
> I had tried to do this with select_related(), but I couldn't get it to
> follow the ForeignKey into Ingredients.
>
> Further wizardy (and explanation) would be greatly apprec
Geta wrote:
> What's the easiest way to have Django use an existing table for the
> intermediate table for a ManyToManyField?
In PostgreSQL you could try to:
- let Django create its m2m table
- drop it
- recreate it as a view on your original m2m table
- create an rule 'AS ON INSERT ... DO INSTE
is there a similar decorator to cache the output of a tag?regardsIanOn 20/07/2006, at 6:28 PM, Axel Steiner wrote:Hi, It looks like the right way to deal with this is to implement per pagecaching, but that doesn't look too simple to me. I hope that someonewill prove me wrong by posting some simple
Hi,
> It looks like the right way to deal with this is to implement per page
> caching, but that doesn't look too simple to me. I hope that someone
> will prove me wrong by posting some simple instructions for implemeting
> per page caching. Alternatively please post a mechanism for disabling
> g
That's what I want (and basically what I'm doing now), but I just feel
like it is quite dangerous having that there and not easy to override.
If someone else works on my code I have to know tell them not to call
the bulk delete or "bad things might happen". There's no way of
"making it idiot proof
On Thu, 2006-07-20 at 08:35 +0200, Neilen Marais wrote:
> Matthew,
>
> Thanks for the info.
>
> On Thu, 20 Jul 2006 10:05:43 +1000, Matthew Flanagan wrote:
>
> >> In [73]:Image.objects.filter(tags__id=1).filter(tags__id=2)
> >> Out[73]:[]
> >>
> >
> > I think you want to use:
> >
> > Image.ob
66 matches
Mail list logo