Hello,
I'm trying to use an image from my 'static' folder in one of my templates.
I need to pass the image into the thumbnail_url filter but I can't get it
to work. The image is not found. How do I specify the correct image path?
(I posted this same question on stackoverflow
r uploaded file,
> for production used static deploy strategy, see the documentation about
> static files.
>
> Model file field has an url attribute that return a media url, you use in
> template like {{obj.file.url}}
>
>
> El martes, 7 de abril de 2015, Stephanie Socias <stephs
return a media url, you use in
> template like {{obj.file.url}}
>
>
> El martes, 7 de abril de 2015, Stephanie Socias <stephsoc...@gmail.com>
> escribió:
> > Do I need to update/add something to my urls.py?
> >
> > On Tuesday, April 7, 2015 at 9:51:
Do I need to update/add something to my urls.py?
On Tuesday, April 7, 2015 at 9:51:56 AM UTC-4, Stephanie Socias wrote:
>
> Thank you very much for responding, Daniel.
>
> I'm sorry I don't quite follow- I've never done this before. I should use
> the URL {{ datamine.image.url }}
!
On Tuesday, March 31, 2015 at 12:11:42 AM UTC-4, Stephanie Socias wrote:
>
> Hello Again,
>
> I don't mean to take advantage of your kindness and generosity in helping
> me- I'm so appreciativeI'm just still stuck on the ValidationError
>
> [u'ManagementForm data i
2015-03-31 5:11 GMT-06:00 Bill Blanchard <bill.bl...@gmail.com
> >:
>
>> Hi Stephanie,
>> Ping me offline, I might be able to help you out.
>> On Mar 30, 2015 1:43 PM, "Stephanie Socias" <steph...@gmail.com
>> > wrote:
>>
>>> T
:36 UTC+1, Stephanie Socias wrote:
>>
>> I've implemented this same solution (using custom file storage and the
>> "upload_to" parameter) but now cannot get the uploaded files to display
>> from my template. I would normally use {{ STATIC_URL }} but, since I've now
>>
I've implemented this same solution (using custom file storage and the
"upload_to" parameter) but now cannot get the uploaded files to display
from my template. I would normally use {{ STATIC_URL }} but, since I've now
specified a custom location, I'm not sure why my path, which I've
n help you at some point in the
future too.
On Monday, April 6, 2015 at 12:30:58 PM UTC-4, Stephanie Socias wrote:
>
> Hi Bill,
>
> No luck:( I moved the `if any(self.errors):` to the bottom of the clean
> function and no change
>
> Thank you (again!) for your help,
> Ste
when you hit an error. Try:
>
> ...
> def clean(self):
> if any(self.errors):
> return self.errors
> ...
>
> On Mon, Apr 6, 2015 at 12:00 PM, Stephanie Socias <steph...@gmail.com
> > wrote:
>
>> I implement a custom clean method to validate my
I implement a custom clean method to validate my formset. I know there are
error as I can print them to the console but these non_form_errors() are
never rendered in my template. How can I render them?
template.html:
{% csrf_token %}
{{ dataset_form.media }}
ius-in-negative-space-4e7c755f641f
>
>
> On 31 March 2015 at 13:50, Bill Blanchard <bill.blanch...@gmail.com>
> wrote:
> > I fought with formsets for a week when I started. Glad I could pay it
> > forward a bit.
> >
> > On Mar 30, 2015 10:46 P
u if that file is found or not.
> >
> > If it's found, then I might be stumped, or it might be some kind of
> import
> > issue with the base jquery file or a conflict.
> >
> > If it's not found, you'll have to troubleshoot the issue related to
> pointing
> > to the cor
.
>
> On Mon, Mar 30, 2015 at 8:33 PM, Stephanie Socias <stephsoc...@gmail.com>
> wrote:
>
>> Thank you, Bill! I'm getting a TypeError that $(...).formset is not a
>> function
>> I'll see what's up!
>>
>> On Mon, Mar 30, 2015 at 8:29 PM, Bill Blanch
rowser to see if you
> get any error messages. Hope this helps!
>
> Bill
>
> On Mon, Mar 30, 2015 at 8:19 PM, Stephanie Socias <stephsoc...@gmail.com>
> wrote:
>
>> Thank you, Bill. That was silly of me. I'm just confused on where/how
>> those actual l
s learning — as romantic poet John Keats put
> it — to be “capable of being in uncertainties, mysteries, doubts,
> without any irritable reaching after fact & reason.”
>
> Seeking Genius in Negative Space, Chris Messina
>
> https://medium.com/genius-week/seeking-genius-in-neg
modify accordingly. I believe the default values
> are Add Form and Remove Form if you do not explicitly declare them in the
> javascript function.
> On Mar 30, 2015 6:03 PM, "Stephanie Socias" <stephsoc...@gmail.com> wrote:
>
>> Thank you all SO much for your
in the template? That is probably a really dumb question but I have just
about zero experience with javascript/jquery.
Thank you!
Stephanie
On Mon, Mar 30, 2015 at 5:18 PM, Carl Meyer <c...@oddbird.net> wrote:
> Hi Stephanie,
>
> On 03/30/2015 02:37 PM, Stephanie Socias wrote:
Hello,
I'm having trouble creating a formset where I can dynamically add and
delete items. I've tried many different approaches and can't get anything
to work. I'm new to Django and have been at this for days. Can someone
please help me!? I can send my code, post it, or do a screen share.
Thank you for your suggestions!
Unfortunately, as I am very green at the moment, I nee more help to
implement all of these new techniques. Given that what I'm trying to
accomplish requires more extensive Django and javascript knowledge, is
there anyone who would be willing to do a video
Hello,
I've been trying for days to get my form(s) going. I essentially have four
separate forms and a formset that I am trying to submit with one submit
button. I'm using django-crispy-forms. My first issue it that now my form
"submit" button is not doing anything. Additionally, I need to be
21 matches
Mail list logo