Is there a way to allow bulk upload of files (e.g.: images) from the
admin?
My use case is an ImageGallery model, where the admins would like to
be able to select an arbitrary amount of files to upload at one time,
and not have to browse-select-accept each file individually.
Using trunk.
Thanks,
I am accepting user input using the Jeditable library for jQuery,
which sends the data as POST parameters "id" and "value". I am reading
these parameters into a django.forms.Form to sanitize it, like so:
class EditInPlaceForm(forms.Form):
id = forms.CharField()
value = forms.CharField()
Finally a reason to upgrade, then.
Thanks,
Rodrigo
On May 28, 11:54 pm, Alex Gaynor wrote:
> On Thu, May 28, 2009 at 10:53 PM, Roberto Cea wrote:
>
> > I see. I take it this only works in 2.6?
>
> > Thanks,
>
> > Rodrigo
>
> > On May 28, 11:48 pm, Ka
I see. I take it this only works in 2.6?
Thanks,
Rodrigo
On May 28, 11:48 pm, Karen Tracey wrote:
> On Thu, May 28, 2009 at 11:29 PM, Roberto Cea wrote:
>
> > I'm just coming off of a Unicode bug hunting expedition, adding a ton
> > of "u"s before quotation
I'm just coming off of a Unicode bug hunting expedition, adding a ton
of "u"s before quotation marks.
Is there a way to tell Django (or Python): "Assume all my strings are
unicode, ok?"
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
If an idiomatic Python program is "pythonic", what do you call
idiomatic use of Django, "djangonic"?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us
= loader.render_to_string(html_tmp.name, {'obj': self})
return html
where self.html_template_name is the path + name of the template, and
it's passed the calling model instance as 'obj'.
Thanks!
Rodrigo
On May 19, 11:50 pm, Eric Abrahamsen wrote:
> On May 20, 2009, at 10:53 AM, Ro
I have a BaseModel and n models that subclass it.
Each instance of the BaseClass has a .name_of_subclass attribute that
returns the subclass instance associated with it.
Is there a generic way of accessing this instance without knowing
beforehand the name of the subclass, something like
base_class
Webfaction has small-amount-of-clicks install for Django, and the
support staff is both knowledgeable (about Django and other topics)
and helpful.
It's very Django friendly.
On May 19, 10:41 pm, LeonTheCleaner wrote:
> Thanks, I saw that link. But why webfaction is better. It has the same
> manu
I have a large amount of optional components (with a model for each
one) that will be freely inserted by my users, and it would be
impractical to render each one in a single large template.
I want to give each component a ".render()" method, so I can just call
that from the template.
However, I do
Thanks, super fast, too.
R.
On May 9, 10:21 pm, James Bennett wrote:
> On Sat, May 9, 2009 at 9:52 PM, Roberto Cea wrote:
> > Here's a fairly basic question: how do I execute an arbitrary python
> > module within the context of a given Django project, with access to
Here's a fairly basic question: how do I execute an arbitrary python
module within the context of a given Django project, with access to
its models, etc.? Currently, I load it from a "manage.py shell"
session, but I'm sure there's a more straightforward way to do it, no?
--~--~-~--~~--
ou got it gives them what they want and
> covers your ass.
>
> Something like
> this:http://scottbarnham.com/blog/2008/04/28/django-performance-testing-a-...
>
> On May 6, 9:52 am, Roberto Cea wrote:
>
> > I am in the process of signing a contract to develop a website for a
&
I am in the process of signing a contract to develop a website for a
fairly large IT company using Django. They requested that the contract
nclude:
1) number of concurrent visitors that the site will support
2) maximum response times for typical requests
I've explained that both items will depen
14 matches
Mail list logo