Dmitry

Results 6 issues of Dmitry

I tried this plugin with Nuxt.js. Everything works fine except SSR - plugin works only on client side. Can vue-linkify prepare HTML on server side? Thanx. plugins/vue-linkify.js: ``` import Vue...

I have this line in my code: ```if self.begin and datetime.now() < self.begin:``` And some tests for that code: ``` @pytest.mark.parametrize("freeze_time, begin", [ (datetime(2020, 3, 1), datetime(2020, 3, 3)), (datetime(2020,...

bug

When try to use this code client side: ``` _cloudinary.after.update(function(user,file){ if(file.percent_uploaded === 100 && !file.uploading){ console.log(file); } }) ``` got this error: ``` TypeError: undefined is not an object (evaluating...

Is there a right place where I can fetch the data? I've tried next's getStaticProps and getServerSideProps and they work only on first request after page reload. If I come...

Since Django 1.7 we can use JsonResponse instead of HttpResponse for json responses. And in Django 1.9 HttpResponse doesn't accept mimetype argument.

if views.py line 27 change if to elif: ``` for key, val in errors.iteritems(): if key == '__all__': final_errors['__all__'] = val elif not isinstance(form.fields[key], forms.FileField): html_id = form.fields[key].widget.attrs.get('id') or form[key].auto_id...