On Sat, Dec 22, 2012 at 05:22:05PM -0800, Doug S wrote:
> I want to store an ordered list of items in my models
> and allow insertions and appending to the end of the list.
I've been using Django Positions for handling ordered lists:
https://github.com/jpwatts/django-positions/
It seems to
On Fri, Aug 05, 2011 at 10:31:38AM -0700, fire_water wrote:
> and has a http://code.google.com/p/django-stdimage/
> issues/detail?id=22">known bug that does not delete images when
> its object/row is deleted.
> According to django-imagekit's github.com page, it has the same href="https://github.
On Thu, Jul 07, 2011 at 10:46:47AM -0400, Shawn Milochik wrote:
> If I even filter a mailing list so it doesn't go into my inbox I end
> up falling behind and deleting all the messages unread. The only way I
> actively participate in this list is because it hits my inbox.
I'm on too many mailing
On Wed, Jul 06, 2011 at 08:38:42PM -0300, Andre Terra wrote:
> If we could move the questions to a specific site, everyone would
> benefit.
Not everyone. I much prefer mailing lists to any of the other options
mentioned. With a threaded mail client, I use Mutt, they're much
easier to keep up wi
On Fri, May 20, 2011 at 07:51:06AM -0400, Brian Bouterse wrote:
> +1 for vim
I'll second that motion. I've tried numerous other editors and keep
sticking with vim for almost everything. I do use emacs for my e-mail
editor, with Mutt as my mail client.
--
Kevin
http://www.RawFedDogs.net
htt
On Wed, May 18, 2011 at 03:03:42PM -0500, Kevin Monceaux wrote:
> to:
>
>return render(response, 'index.html', {'form': form})
I should proof read more carefully. That should be:
return render(request, 'index.html', {'form': fo
John,
On Wed, May 18, 2011 at 09:12:59AM -0700, John Wheeler wrote:
> I had to change
>
>return render_to_response('index.html', {'form': form})
>
> to
>
>return render_to_response('index.html', {'form': form},
> context_instance=RequestContext(request))
And if you're running Django
On Tue, Jan 11, 2011 at 05:12:46PM -0600, Kevin Monceaux wrote:
> Do you mean like the reference manual one can build from Django
> source?
The above wasn't entirely clear. I meant the manual one can build
from the documentation source code which is included the Django sou
On Tue, Jan 11, 2011 at 12:36:26AM -0800, mrmclovin wrote:
> I guess your post should be replaced by my first one :). It's exactly
> what I was trying to say: django need a reference manual to complement
> the existing documentation.
Do you mean like the reference manual one can build from Django
On Tue, Jan 11, 2011 at 07:51:55AM +0800, Russell Keith-Magee wrote:
> I am yet to meet an online forum interface that doesn't make me want
> to gouge my own eyes out. For my money, email is a vastly preferable
> interface in almost every respect. Google's Groups could certainly
> do with some wo
On Fri, Oct 22, 2010 at 07:58:20AM +0100, Chris Withers wrote:
> On 21/10/2010 15:40, ringemup wrote:
> >MySQL has a tool (mysqldump) that will output the contents of an
> >entire database to a SQL file that can then be loaded directly into
> >another database. Does Postgres not have anything ana
E. Hankan,
On Thu, Jan 14, 2010 at 10:53:31PM -0500, E. Hakan Duran wrote:
Take the following with a grain, or three, of salt. I'm a little rusty. I
converted a web site to Django back in the pre-1.x days and am just getting
back to tinkering with Django to enhance the functionality of said sit
Oops, I knew I'd leave out at least one.
On Tue, Dec 15, 2009 at 10:42:10AM -0600, Kevin Monceaux wrote:
> Some of the items on my wish list include:
Customizable upload/save path, preferably including a directory named
after the photo's ID, to avoid filename collisions
Django Fans,
Somewhere back in the pre-1.x days(via the newforms-admin branch) I
converted one of the sites I act as webmaster for, The Waco Agility Group's
site actually, to Django. I got sidetracked exploring other frameworks and
haven't done much with Django since then. I think I've decided t
On Mon, 19 May 2008, Gene Campbell wrote:
> I totally agree. I took this path over the last 5 years: redhat (1
> yr) -> gentoo (3 yrs)-> archlinux (6 mos) -> pclinuxos (1 day) ->
> ubuntu (6 mos)
I took a similar path. I started with Slackware back in the 1.xx kernel
days. Recently I did
Jon,
On Fri, 16 May 2008, JonSidnell wrote:
> I'm suddenly struck by the notion that I would like to be dev'ing
> Django on Linux of some flavour rather than Windows.
Congratulations!!!
> It's been a wee while since I stuck my toes in the Linux waters, so I
> was wondering if anyone here has
Sebey,
On Wed, 7 May 2008, sebey wrote:
What do you have for your DATABASE_NAME in your settings.py file?
> sqlite3.DatabaseError: file is encrypted or is not a database
It looks like it's pointed to an existing file that's not an SQLite file.
It should look something like:
DATABASE_NAME = '
-richard,
On Wed, 7 May 2008, Richard Dahl wrote:
> I am not sure exactly what you mean by 'not step on each others toes'
> What exactly are you concerned with? You could very easily have a form
> with 4 phone number fields: home, office, mobile, fax; using jQuery's
> .class selector i.e. $(
Django Fans,
Could someone point me at some examples of custom widgets that use
jQuery, or other javascript libraries if there's a better choice. For
example, if I wanted to create a phone number widget using jQuery's masked
input plugin, what would be the best way to go about it. I've just
Selmac?,
I've never used a Mac, so take the following with a grain of salt.
On Thu, 1 May 2008, selmac wrote:
> I know the makers of Django like postgress. Does anyone have
> instructions for an installation of the whole package (apache, postgres,
> django, python, mod_python) on a mac?
It
On Sun, 27 Apr 2008, simonbun wrote:
> So qs-rf hit trunk and was merged into nfa on the same day! That's
> excellent news, both for me and for django. Thanks so much for your
> efforts Malcolm (and Brosner for the quick merge)!
I'll second that. I've been running against the nfa branch. I ju
James,
On Mon, 28 Apr 2008, James Matthews wrote:
> Can someone please point me to a site that lists all the enhancement for
> the admin interface. (filter lists,search,orderby etc..)
They're on the Model Reference documentation page:
http://www.DjangoProject.com/documentation/model-api/#admin
Matias,
On Thu, 24 Apr 2008, Matias Surdi wrote:
> I can't get to work the order_by('related_table.field') as described in
> http://www.djangoproject.com/documentation/db-api/#order-by-fields
>
> Is this documentation correct?
I think it's close. To get the above to work in cases were I've use
Django Fans,
Could someone point me towards some examples of validating the
filenames/types of uploaded files? Digging through the list archives I
came across a post from 2006:
http://groups.google.com/group/django-users/browse_thread/thread/ebe1768bce0a01e3/
which has an example of a custom
jmDesktop,
On Mon, 21 Apr 2008, jmDesktop wrote:
> {% trans 'Bob's administration' %}
One can find examples of using the trans template tag about 1/4 of the way
down the Internationalization documentation page:
http://www.DjangoProject.com/documentation/i18n/
For the above it looks like:
{%
André,
On Mon, 21 Apr 2008, Andre Meyer wrote:
> btw I am using the 0.96.1 release. Does that still use old_forms? Have
> not yet looked into old/newforms...
Yes it does. At the moment to use newforms-admin, one has to check out
the newforms-admin branch from SVN. If you'd like to find out mo
André,
On Sat, 19 Apr 2008, apm wrote:
> so i figured out the following (in admin/change_list.html):
>
> {% ifequal cl.opts.verbose_name "poll" %}
>
> Import from file
> value="import" type="submit">
>
> {% endifequal %}
>
> is th
Django Fans,
I'd like to second most of Rob's questions. While pondering some of the
same questions I came across his post and didn't see a reply.
On Sun, 9 Mar 2008, Rob Hudson wrote:
> How's the stability and/or "readiness" of newforms-admin?
I've just recently converted a web site I act a
On Mon, 7 Apr 2008, ichbindev wrote:
> that would take care of (b) where no page was matched. It would also
> take care of (a) but in principle the home page should not be reached
> through a "page not found" kind of thing.
I agree, in your initial post you said:
> Both of these are not handle
On Mon, 7 Apr 2008, ichbindev wrote:
> In short, is there such a thing as 'default' in urlpatterns so that it
> calls a view when none of the other patterns match?
Is something like:
http://www.DjangoProject.com/documentation/url_dispatch/#handler404
what you're looking for?
Kevin
http://w
On Tue, 8 Apr 2008, Eric Abrahamsen wrote:
> You just want plain old {% resetcycle %}, nothing else. It will reset
> the innermost cycle you put it in...
I tried the above, and still get the same results. I'm not sure if it
makes a difference, but although I'm using cycle within a loop I've
Eric,
On Mon, 7 Apr 2008, Eric Abrahamsen wrote:
>
> Someone pointed me at this page, and I've been happily using the
> resetcyle tag ever since..
>
> http://code.djangoproject.com/ticket/5908
Thanks, that sounds like just what I'm looking for. However, I've applied
the patch and added a {% re
Django Fans,
I started out planning to convert one or two dynamic pages of a local
canine agility club's web site which I act as webmaster for to Django to
see if I really liked Django and to get an idea of how long it would take
to convert the whole site. Well, in just under a week I ended u
Django Fans,
I have another cycle tag question. Is there any way to reset a cycle tag
variable so that it starts from the beginning? In a inclusion tag's
template I have a {% cycle 'Odd' 'Even' as rowcolors %} tag at the top of
the template and elsewhere in the template use {% cycle rowcolor
Django Fans,
On Sat, 5 Apr 2008, Kevin Monceaux wrote:
> When used inside a loop is there any way to have the cycle tag simply
> cycle through the given strings/variables each time it's called regardless
> of the loop index?
> I tried placing a {% cycle 'Odd'
Django Fans,
When used inside a loop is there any way to have the cycle tag simply
cycle through the given strings/variables each time it's called regardless
of the loop index? The spot I need to use the cycle tag within my loop is
inside an ifchanged block, so the cycle tag is not called on
On Fri, 4 Apr 2008, josesoa wrote:
> Something like this should do the trick...
>
> Events.objects.filter(brags__isnull=False)
Thanks!!! That pointed me in the right direction. But, it created a
QuerySet where, for example, if an event had five brags five copies of the
that event were inclu
Django Fans,
I've tinkered around briefly off and on with Django for a while now.
Finally a few days ago I finally found one of those "Round Tuits" I've
been looking for and started converting one of the web sites I act as
webmaster for from PHP to Django. My goal at this point is just to
co
38 matches
Mail list logo