How does the divisibleby filter not serve your needs here?
{% for object in list %}
{% if forloop.counter|divisibleby:"3" and not forloop.last %}
{% endif %}
{{ object }}
{% endfor %}
http://docs.djangoproject.com/en/dev/ref/templates/builtins#divisibleby
Chuck
On Thursday, May 5, 2011
Hey Tim
Thanks for the report! I don't think this is a bug; you might want to read the
documentation a little more closely.
http://docs.djangoproject.com/en/dev/ref/django-admin/#testserver-fixture-fixture
testserver runs the Django development server using data from the passed
fixtures. This
Since you're installing directly from SVN, you'll need to preface the URL with
"svn+". Just 20 minutes ago I successfully did a pip install using the
following command:
pip install svn+http://code.djangoproject.com/svn/django/trunk/#egg=django
Chuck
On Monday, January 31, 2011 at 12:57 PM,
e you are subscribed to the Google Groups
> "Django developers" group.
> To post to this group, send email to django-develop...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-developers+unsubscr...@googlegroups.com<django-developers
A good
Moreover I wont' be able to use any jQuery plugin (that directly
> references `jQuery`) in the admin (without hacking with
> ModelAdmin._media), because the `jQuery` object does not exist. I am
> forced to include jquery twice ...
Per the jQuery docs
gt; left out but did you really say 'no searching'?
>
> -Steve
>
> On Oct 3, 10:09 pm, Chuck Harmston <ch...@chuckharmston.com> wrote:
> > it's based on the assumption that the user knows the value of the unicode
> > representation of the object. It does not allow for discover
ticket #25
during the DjangoCon sprints to prevent other developers at the sprints from
attempting to develop against the ticket.
Then again, my world also has purple skies and orange grass, so take it with
a grain...errr, a bushel of salt. ;)
--
*
Chuck Harmston
*
ch...@chuckharmsto
u received this message because you are subscribed to the Google Groups
> "Django developers" group.
> To post to this group, send email to django-develop...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-developers+unsubscr...@googlegroups.co
My technique, which allows you to:
- Segregate settings per environment
- Keep environmental settings under version control
- Have multiple environments on a single host (using an environment
variable set by the WSGI script)
- Keep passwords and other sensitive information out of
s group, send email to
> django-develop...@googlegroups.com.
> > > >>> > To unsubscribe from this group, send email to
> django-developers+unsubscr...@googlegroups.com<django-developers%2bunsubscr...@googlegroups.com>
> .
> > > >>> > For more opti
googlegroups.com>
>> >
>> > > .
>> > > > >> For more options, visit this group athttp://
>> > > groups.google.com/group/django-developers?hl=en.
>> >
>> > > --
>> > > You received this message because you are subscribed
Please do not cross-post to django-developers and django-users.
http://groups.google.com/group/django-users/browse_thread/thread/6fb15b60f1e551c0#
This group is for discussion about development *of* Django itself, not
development *using* Django.
On Tue, Jul 27, 2010 at 9:05 PM, jerry
The inability to assign variables is an intentional design decision; one of
Django's core tenets is that business logic and presentational logic should
be separated. The template language was crafted to provide non-programmers
(front-end developers and designers) the ability to work directly on
For those not familiar with the previous discussion on the subject:
http://groups.google.com/group/django-developers/browse_thread/thread/e7de5d07d614761a/e3147d2f93bcc804
http://groups.google.com/group/django-developers/browse_thread/thread/32f861c8bd5366a5/22732dc88e644f77
On Wed, May 26,
This particular use case (having predefined sets of information loaded into
the database on either syncdb or other command) is what Django's fixture
loading/creation system is for.
http://docs.djangoproject.com/en/dev/ref/django-admin/#what-s-a-fixture
1) In implementation, how is a YAML configuration file any different than
the Java/XML example that you offered? Syntactical differences between XML
and YAML aside, both systems define settings in markup languages (which by
definition have minimal capability for logic) that are eventually parsed
Hi Wilm,
This is an issue which has been discussed several times before. A quick
search yields:
http://groups.google.com/group/django-developers/browse_thread/thread/924112bf84709225/56e623e758b08465
http://code.djangoproject.com/ticket/3963
http://code.djangoproject.com/ticket/5025
If you have
Unless I misunderstand what you're looking for, the link Brett provided
explains that this is a feature that is coming to Django. Some useful links:
The original ticket: http://code.djangoproject.com/ticket/6845
The patch: http://code.djangoproject.com/changeset/12098
The branch:
As Gert said, these are questions that should be asked on django-users [1];
this list is for discussion about the development of Django, not development
with Django.
That said, there are detailed instructions in the docs [2] for using
multiple databases. This support was rolled out recently
More of an academic question, as it likely isn't a feasible solution for
Django, but might a soundex solve this problem? Best I can tell, rules for
articles, without exception, are based on the pronunciation of the following
word..
Of course, phonology can be regional, subjective, and
comments/feedback/improvements are, of course, welcome. Thanks!
Chuck Harmston
http://chuckharmton.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email
21 matches
Mail list logo