While it technically can be done, it is not worth the effort, and not
reccomended, as you said, jQuery(and many other JS libs) have good
options for this.
On May 19, 12:24 pm, mw <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Is there a reason why a person would not want to use the cool
On May 16, 8:20 pm, Brian <[EMAIL PROTECTED]> wrote:
> Can someone run down the differences between using Memcached vs
> locmem?
>
> The docs indicate Memcached is "the best" solution, but seems
> considerably harder to setup. Just curious what
groups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
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 PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
While not official, brosner(an NFA commiter) has started working on
some NFA docs: http://github.com/brosner/django/commits/nfa_docs
On May 13, 11:33 am, "Ramdas S" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Can someone kindly explain how you can use the formsets from new-adm
--~---~--~~
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 PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
This should probably be filed as a bug since the docs(http://
www.djangoproject.com/documentation/custom_model_fields/) show an
example of raising a TypeError.
On May 11, 2:42 pm, "Marty Alchin" <[EMAIL PROTECTED]> wrote:
> Hi gang (especially Malcolm, if you're listening),
bjects.get(model='author').model_class()
--~--~-~--~~~---~--~~
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,
Their is a thread here regarding the GSOC student's work:
http://groups.google.com/group/django-developers/browse_thread/thread/f83457fc3cdb235d
On May 9, 1:41 pm, gmacgregor <[EMAIL PROTECTED]> wrote:
> On May 9, 2:37 pm, gmacgregor <[EMAIL PROTECTED]> wrote:
>
> > So
The first way is the correct way, to get all the chapters for a given
book you would do book_obj.chapter_set.all() , you can set what this
attribute is named by doing ForeignKey(Chapter,
related_name='this_thing').
On May 9, 11:08 am, Mike Chambers <[EMAIL PROTECTED]> wrote:
> I a
Look at the thing I posted. The sessionid= tag is there but it seems
to confuse django when there's more than just that in that header. I
don't know exactly what causes it though.
On May 7, 4:28 pm, finnam <[EMAIL PROTECTED]> wrote:
> Isn't it just a matter of session id cookie
I don't think this matters here, but you're overriding the 'file'
builtin.
On May 8, 7:03 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Thu, May 8, 2008 at 3:51 PM, Beals <[EMAIL PROTECTED]> wrote:
> > Correction: request.FILES does exist -- it just
I have to deal with something like this at work, what I did was just
ripped off the little magnifying glass thing the admin site uses when
you use raw_id_admin. It's not exactly what you're looking for, but it
has the same result.
On May 6, 12:12 pm, Dan Conner <[EMAIL PROTECTED]>
I would look at James Bennet's applications(django-registration,
comment-utils, etc.) as good examples of reusable applications.
On May 7, 11:18 am, rcs_comp <[EMAIL PROTECTED]> wrote:
> Myles,
>
> Thanks for the reply, but I am not sure that I understand your
> response. My
As far as I know, that's fine. Michael J. could use
City.objects.exclude(jobs_isnull=True) to accomplish what he seemed to
be going for.
On May 7, 2:09 am, Eric Abrahamsen <[EMAIL PROTECTED]> wrote:
> I've been using something like:
>
> City.objects.filter(jobs__isnull=True)
>
uot; group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
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 PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
-~--~~
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 PROTECTED]
For more options, visit this group at
http://gr
There is the includes tag, or you can make a template tag.
On May 6, 1:20 pm, "Andrew English" <[EMAIL PROTECTED]> wrote:
> Is there a way to embed templates in other templates using Django? For
> example, you could have common elements like a navigation menu defined
,
-Alen
On May 6, 5:43 pm, Peter Bailey <[EMAIL PROTECTED]> wrote:
> I have designed a small db model (on paper) and want to implement it
> in my models.py file. So far, this has been pretty straight forward,
> but I have a generic superclass and several subclasses, and I am
> unsur
cribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
> Regardless, the context for that discussion is quite
> different to the context of this current discussion.
I take back what I said on my last note.
-Alen
On May 6, 8:43 am, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On Tue, May 6, 2008 at 2:16 PM, [EMA
erence. (Below
the belt Russ! :-))
Non-the less, I do have a better understanding now why it should
perhaps stay as is.
-Alen
On May 6, 1:41 am, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On Tue, May 6, 2008 at 6:10 AM, [EMAIL PROTECTED]
>
> <[EMAIL PROTECTED]
On May 6, 11:14 am, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On Tue, May 6, 2008 at 8:52 AM, Explore <[EMAIL PROTECTED]> wrote:
>
> > Hi. I have been trying to get django to return my models as xml. I
> > have tried using the xml ser
elated, post on the dev list:
"Ditch pluralisation entirely"
http://groups.google.com/group/django-developers/browse_thread/thread/951d113483083ce9/83c18a7a4b2e136e?lnk=gst=plural#83c18a7a4b2e136e
Regards,
-Alen
On May 5, 2:59 pm, "Karen Tracey" <[EMAIL PROTECTED]> w
--~--~-~--~~~---~--~~
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 PROTECTED]
For more opti
gh. :-))
Regards,
-Alen Ribic
On May 5, 4:57 am, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On Mon, May 5, 2008 at 1:16 AM, [EMAIL PROTECTED]
>
> <[EMAIL PROTECTED]> wrote:
>
> > > Is it? Maybe. I don't know if anyone has proposed smartening-up
>
You *might* be able to make it work by adding the re.DOT_ALL flag to
this re:
http://code.djangoproject.com/browser/django/trunk/django/template/__init__.py#L90
I haven't tested it, I don't know if it works, I don't even know if it
makes sense.
On May 4, 10:51 pm, gregf <[EMAIL PROTEC
have already implemented this functionality in my own code base that
I would be happy to share. (I can create a patch/diff if there would
be interest.)
Regards,
-Alen
On May 3, 9:52 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Sat, May 3, 2008 at 5:39 AM, [EMAIL PROTECTE
As a slight addendum to what James said, it will be implemented in the
newforms-admin branch, and will be available in trunk after the
merge(you can of course use the newforms-admin branch if you need
this).
On May 4, 2:41 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
>
with model inheritance?
thanks,
alan
--~--~-~--~~~---~--~~
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,
---~--~~
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 PROTECTED]
For more options, visit this group at
http://
default render_to_response.
--~--~-~--~~~---~--~~
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 PROTECTED]
For more options, visit this gro
i use the include tag) ?
--~--~-~--~~~---~--~~
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
On 2 май, 05:40, Eric <[EMAIL PROTECTED]> wrote:
> The beauty for using a search engine is you can do tag unions as easy
> as tag:python OR tag:django
>
> or a tag intercection as:
> tag:python AND tag:django
>
> and you can do:
> tag:python AND tag:django A
Probably the most painless way to get everything you need for the
production setup is via MacPorts - apache, python, postgres, etc.
On May 1, 2:56 pm, Kevin Monceaux <[EMAIL PROTECTED]> wrote:
> Selmac?,
>
> I've never used a Mac, so take the following with a grain of salt.
&g
You actually would place the on the model, for example you might have
a send_email method on an invitation model, to abstract the template,
simply make it a parameter to the function.
On May 1, 5:07 pm, Michael Burton <[EMAIL PROTECTED]> wrote:
> I'm coming to Django from the Java S
I believe you need to specify a related name argument:
http://www.djangoproject.com/documentation/model-api/#be-careful-with-related-name
On May 1, 3:18 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Thu, May 1, 2008 at 3:04 PM, bcurtu <[EMAIL PROTECTED]> wrote:
rom what Ive read Django does a
> really great job at that, or has what Ive been hearing been wrong?
>
> On May 1, 12:04 pm, "Michael Wieher" <[EMAIL PROTECTED]> wrote:
>
> > I never use bleeding edge software, I let someone else be that level
> > of bug-te
Thanks Felix. I did use the Form.clean() for my validation accross
multiple fields. There is an open ticket for the non_field_errors()
not being called withing the change_form.html template.
http://code.djangoproject.com/ticket/6809
-Alen
On May 1, 4:14 pm, "[EMAIL PROTECTED]"
<[EM
On Apr 30, 6:04 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> After reading over the newforms documentation, I came across the
> Form.clean() method that suites my case nicely regarding my newforms-
> admin form:
>
> """
> The Form subcl
t; <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 30, 2008 at 4:39 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
>
> > Thanks Karen. Thats exactly what I was looking for. The patch attached
> > to the ticket is perfect.
>
> > Quick question: how does the process o
racey" <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 30, 2008 at 3:25 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > The non_field_errors don't get displayed on newforms-admin templates
> > such as chnage_form.html
>
> > I did a debug on adminf
p.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
above doc snippet with regards to the special
'field' called __all__?
regards,
-al
On Apr 30, 5:50 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi Al,
>
> On Apr 30, 2:18 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
>
>
> &
Hi Al,
On Apr 30, 3:25 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Oh and the NewformsHOWTO doc says:
>
> "How do I add custom validation?"
> """One option is to override form_add() and form_change() in
> ModelAdmin and provide a
Hi Al,
On Apr 30, 2:18 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I would like to add some custom validation to the newform-admin form.
> I have look at the
> -http://code.djangoproject.com/wiki/NewformsHOWTO#Q:HowdoIaddcustomval...
> - and am still not
methods
available in ModelAdmin, unless I'm looking in a wrong place or the
latest repository version is newer then the online doc itself.
-al
On Apr 30, 4:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I have a below class as an Admin option for the newform-admin.
>
I know this may sound dumb but are you actually on the correct drive
to be issuing that command? Also are you using the svn or .96. Not
that it matters I am just curious.
On Apr 30, 9:57 am, curt <[EMAIL PROTECTED]> wrote:
> I've completed the install of python and django and I'm tryi
.',
statusFieldReference))
Or am I doing this incorrectly?
-Alen
--~--~-~--~~~---~--~~
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 unsubscri
i see.
I created a admin.py in my app and added a "import admin" to
__init__.py.
In the admin.py I had to import all from the models.py.
Tested it and it works.
Does that sound right?
-al
On Apr 30, 3:22 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote:
> On Apr 30, 4:39 am
the right direction.
-Al
--~--~-~--~~~---~--~~
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
age 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 PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
thanks for shedding some light, I'll be sure to keep my eye on the
newforms-admin branch.
Maybe I'll get my hands dirty in the todo list that's stopping the
merger as it looks very promising to me.
-al
On Apr 29, 9:55 pm, "Justin Lilly" <[EMAIL PROTECTED]> wrote:
> I think
of the javascript model structure and/or the view that
serializes JSON? I'd like to get this thing moving if possible, as its
lazy scrolling seems like it would beat the pants off old-fashioned
pagination.
Thanks,
John
On Apr 14, 5:24 am, bobhaugen <[EMAIL PROTECTED]> wrote:
> On Mon, 14 Apr 2008 00:13
be from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
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 PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
Yes django.contrib.comments is scheduled to be rewritten as a part of
the Google Summer of Code.
On Apr 29, 12:01 am, Mike Chambers <[EMAIL PROTECTED]> wrote:
> Thanks.
>
> Ill take a look at that, as well as some of the other comments framework.
>
> I had looked at
(such as threadedcomments).
On Apr 28, 11:40 pm, Mike Chambers <[EMAIL PROTECTED]> wrote:
> I am writing my first django app. I have Items, which can have multiple
> comments associated with them.
>
> Normally, I could express this in my model as:
>
> ---
> class Comment(model
http://www.b-list.org/weblog/2007/sep/22/standalone-django-scripts/
On Apr 28, 5:10 pm, "Andrew D. Ball" <[EMAIL PROTECTED]> wrote:
> Greetings.
>
> I'm working on a Django application and would like
> to be able to write a stand-alone Python program
> that calls
What are the permissions of the enclosing folder? See
http://code.djangoproject.com/wiki/NewbieMistakes#DjangosaysUnabletoOpenDatabaseFilewhenusingSQLite3
On Apr 28, 4:22 pm, [EMAIL PROTECTED] wrote:
> hello all,
>
> I get a operational error when i try to access the sqlite3 data
d email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Can anyone help me with these errors:
>
> python setup.py buildrunning build
> running build_py
> copying MySQLdb/release.py -> build/lib.macosx-10.5-i386-2.5/MySQLdb
> running build_ext
> building '_mysql'
om this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
!
-- Ben Scherrey
On Apr 27, 10:04 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> I merged queryset-refactor into trunk just now. This was changeset
> r7477.
>
> There are still a couple of enhancements to do, but I've decided they're
> not worth holding up the entire b
What exactly is your problem? Is latest_items empty in the template?
On Apr 26, 2:10 am, chatchai <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I use a modified version ofhttp://jellyroll.googlecode.com/by adding
> my own models into follow list (jellyrool.models.I
--~--~-~--~~~---~--~~
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 PROTECTED]
For more options, visit
Thank you all for the responses,
I will start looking into it and see if there is a solution for this.
I will ask the developer again who saw this once before.
Regards,
Richard
On Apr 26, 10:16 am, pgb <[EMAIL PROTECTED]> wrote:
> Hi,
> I am also not an expert but personaly
--~--~-~--~~~---~--~~
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 PROTECTED]
For more options, visit this group at
http://groups.google
uot; group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
You may also want to look at this thread for a more extensive
discussion of exactly this subject:
http://groups.google.com/group/django-users/browse_thread/thread/242cc194a1a7b6fe/81fb9a60ffb8d233?#81fb9a60ffb8d233
On Apr 25, 1:07 am, "[EMAIL PROTECTED]" <[EMAIL PROT
consider adjusting the rules but this is only the
second time it's come up. To put that in context, that means that
only 2 people out of 101 (~2%) have voiced it as a concern.
Daniel
On Apr 23, 8:49 pm, Eric <[EMAIL PROTECTED]> wrote:
> Apparently the design can be done before
If you are getting the correct resultset, just with parents multiple
times, add .distinct() to your queryset.
On Apr 24, 1:17 am, Kevin L <[EMAIL PROTECTED]> wrote:
> Hello Django users, I'm having trouble with an exclude statement and
> was hoping some kind soul could help me ou
.96 is not unicode enabled, if you need to handle unicode strings you
will need to use SVN.
On Apr 23, 4:23 pm, "Boris Ozegovic" <[EMAIL PROTECTED]> wrote:
> On 4/23/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
>
Are you using .96 or SVN?
On Apr 23, 3:56 pm, "Boris Ozegovic" <[EMAIL PROTECTED]> wrote:
> I am getting UnicodeDecodeError, 'ascii' codec can't decode byte 0xc4.
> I using utf-8 in forms.py, and also, my template is saved as UTF-8.
> And it doesn't work. Any idea
You could either do that, or just add a method to your model, both
would employ the same logic, it's just a question of reusable vs. time
to implement.
On Apr 23, 12:17 pm, skam <[EMAIL PROTECTED]> wrote:
> Okay, that's a valid reason, but I really want these files to be into
>
FilePathField can refer to any location on your system, there is no
reason to believe it is below the MEDIA_ROOT.
On Apr 23, 11:14 am, skam <[EMAIL PROTECTED]> wrote:
> It seems that get_FIELD_url accessor method is not available while
> using FilePathField into my models.
> Is t
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
I'm connecting fine so the problem is probably with your DNS(looks
like OpenDNS).
On Apr 22, 1:23 pm, Michael Becker <[EMAIL PROTECTED]> wrote:
> I'm not sure if this is the right place to post this info but nslookup
> onwww.djangoproject.comis failing.
> N
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 PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
Actually Duke you can use Django to store static content, it is just
inefficient, for example if you are doing a school project it is
perfectly acceptable but commercial development you want to go and
grab Apache.
On Apr 22, 7:32 am, Alex Morega <[EMAIL PROTECTED]> wrote:
> On Apr
roup, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
I believe this was a Safari issue that was fixed at some point post-.
96.1(if you guys aren't using safari feel free to post again).
On Apr 19, 2:42 pm, Polat Tuzla <[EMAIL PROTECTED]> wrote:
> I got the same problem with the version 96.1 on Mac.
> Then switched to trunk and everyt
s anyone see the same problem as me?
--~--~-~--~~~---~--~~
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 PROTECTED
Hi vamsi - try reading the Django book (available at
http://www.amazon.com/Definitive-Guide-Django-Development-Right/dp/1590597257
or djangobook.com), see if you still have questions.
Good luck
On Apr 18, 1:44 am, Jeff Anderson <[EMAIL PROTECTED]> wrote:
> gvkreddy wrot
I don't know if TEMPLATE_STRING_IF_INVALID can be set to raise an
error, but you could write a simple filter that raises an error if the
variable is empty or just returns it as is if not.
On Apr 18, 2:48 pm, yml <[EMAIL PROTECTED]> wrote:
> hello,
>
> Here it is what
the SQL manually.
On Apr 19, 12:57 am, meppum <[EMAIL PROTECTED]> wrote:
> I read that to mean that it follows foreign key relationships "up"
> from the child to the parent. Meaning that if you load
> Parent.select_related() that parent.child_set() will not yet have been
> lo
Thank you very, very much
On Apr 18, 5:28 pm, "Chris Czub" <[EMAIL PROTECTED]> wrote:
> Follow the instructions on the Django website
> athttp://www.djangoproject.com/download/and run `svn
> cohttp://code.djangoproject.com/svn/django/trunk/`
>
> After that
send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
That wouldn't be return template((template))), it should be just the
view's name, not actually calling it, and your wrapper function needs
to take request, and pass it along to dire3ct_to_template
On Apr 18, 3:51 pm, Brandon Taylor <[EMAIL PROTECTED]> wrote:
> Sorry, forgot to say th
an example let me know and I will
write one up.
On Apr 18, 3:10 pm, Brandon Taylor <[EMAIL PROTECTED]> wrote:
> Hi Alex,
>
> Thanks for the advice. Still being new to Django, where would such a
> wrapper function need to exist? In the views.py? models.py?
>
> I'
There is no current way to do this(there was a thread on django-dev a
few weeks ago and there was no consensus on syntax), what I would do
is create a very simple filter, if will be all of 3 lines long and
will accomplish what you need.
On Apr 18, 2:47 pm, Salim Fadhley <[EMAIL PROTECTED]>
You could write a simple template tag that did this.
On Apr 18, 12:26 pm, Salim Fadhley <[EMAIL PROTECTED]> wrote:
> I'm trying to debug the context that is passed into the template. When
> I render the template I use a command like:
>
> return HttpResponse( render_to
Direct_to_template does not substitute the template var in to the
template param, you will need to write a simple wrapper to do
something like this.
On Apr 18, 12:35 pm, Brandon Taylor <[EMAIL PROTECTED]> wrote:
> Ah. I see now. It's matching the first part of the URL, but it doesn
Here's the code for the range tag I wrote: http://dpaste.com/45711/ I
haven't tested it at all, but I think it should work, if anyone can
provide feedback I'll post it on django snippets.
On Apr 18, 2:00 pm, "Erik Vorhes" <[EMAIL PROTECTED]> wrote:
> Or you can add something t
and post it to django snippets later, if
anyone wants it, I'll post a link.
On Apr 18, 11:47 am, Eric Abrahamsen <[EMAIL PROTECTED]> wrote:
> I think what people are saying here is that your number, the iteration
> limit, has to be coming from somewhere or something. Chances are, that
users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
Hi Joe,
On Apr 16, 11:28 am, "Joe Bloggs" <[EMAIL PROTECTED]> wrote:
> A nice clean site, I would be interested to know:-
Thanks
> How long it took to develop?
Approximately 5 man months (including all activities). Of these 5
months, only 1 1/2 month have been spe
, SammyRulez <[EMAIL PROTECTED]> wrote:
> Hi folks
>
> I'm trying to implement a custom Stroage via s3. Something
> likehttp://code.djangoproject.com/attachment/ticket/6390/S3_6390.20080321.py.
> I'm digging Django core code to find how to tell it to use the cus
501 - 600 of 3508 matches
Mail list logo