Who known best solution for resolve problem with building chart in Django power by Python3?

2016-03-21 Thread setivolkylany
I have method model, that will return pie chart on each instance model. But I so far not found normal django-apps for solving problem with creating chart on my data. Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Best bootstrap plugins-addons in django-bootstrap project?

2016-03-10 Thread setivolkylany
I found useful bootstrap-datetimepicker, may be someone known yet? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To

I can not create a new user via admin Django?

2016-03-10 Thread setivolkylany
I create project with my authuser model where login via email, not through name Models.py import imghdr import string import datetime from django_countries.fields import CountryField from django.db import models from

Best jquery plugins in django-bootstrap project?

2016-03-10 Thread setivolkylany
I found useful ajaxform.js, moment.js, jcrop.js may be someone known yet? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Best plungin bootstrap for django+bootstrap project?

2016-03-10 Thread setivolkylany
I found useful bootstrap-datetimepicker, may be is yet? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to

Re: Both directly transfer data from django to jQuery

2016-03-10 Thread setivolkylany
May be there is something simpler than Ajax request? четверг, 10 марта 2016 г., 14:20:17 UTC+2 пользователь Sergiy Khohlov написал: > > Ajax ? > Have you checked this one ? > > Many thanks, > > Serge > > > +380 636150445 > skype: skhohlov > > On Thu, Mar 10, 2016 at 2:18 PM,

Where it makes sense to use other methods in addition to POST and Get, for example HEAD?

2016-03-10 Thread setivolkylany
just wondering -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to

Both directly transfer data from django to jQuery

2016-03-10 Thread setivolkylany
I had method model that generate dict, sample: { 'translators': 5, 'glossaries': 1, 'abbrs': 0, } I want known, how transfer data without hidden fields in html file. I need here for generate google-chart. -- You received this message because you are subscribed to the Google Groups

Best solution for processing uploaded video/audio files from user?

2016-03-10 Thread setivolkylany
Diffrent browser supported different types of video/audio files. Opera supports - only .ogg/ogv Firefox - only mp3/mp4 Chrome - both that and another How to choice best solution for saved uploaded files from user in Django project? -- You received this message because you are subscribed to

How will make OneToOne relationship in admin for my User model?

2016-03-02 Thread setivolkylany
I need create link in my admin part of site, for models AccountUser and AccountUserInfo -- My models.py -- import imghdr import string import datetime from django_countries.fields import CountryField from django.db import models from

What are the things similar TabularInline and StackedInline?

2016-03-02 Thread setivolkylany
Just wondering, how in django so few similar things. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this

Re: How force DJANGo choice MEDIA_URL or STATIC_URL in template?

2016-03-02 Thread setivolkylany
I am solved problem next variant: in model -- @property def account_user_picture(self): if self.picture: return self.picture.url else: return settings.STATIC_URL + 'project_static/images/default-picture.png' in templates

How force DJANGo choice MEDIA_URL or STATIC_URL in template?

2016-02-29 Thread setivolkylany
I need choice base url MEDIA_URL (/media/) - for uploaded user picture, or STATIC_URL (/static/) - picture by default I am try next: p> , but result is MEDIA_URL(STATIC_URL) and path to file. I am next try: {% templatetag openvariable %} url 'entry_list' {% templatetag closevariable %}

Why not working ?

2016-02-29 Thread setivolkylany
my model . class Translator(models.Model): """ Model for dictionaries tranlations """ def dispatch_dictionary_media_files(instance, filename): return 'app_dictionaries/{0}/{1}'.format(instance.name.__str__(), filename) author =

Ajax + Django + jQuery + HTML5

2016-02-28 Thread setivolkylany
I need get path to local file in for ImageField. Next, transfer path to my view thought Ajax request, update in database and almost all. I need will make it manually, for my goals. May be, anyone known how it make? I am tried already django-ajaximage, Ajaxfileupload and many other, but it

localized_fields in class-based views?

2016-02-25 Thread setivolkylany
How include localized_fields in class-based views? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this

How right will working Ajax and Class-Based views?

2016-02-25 Thread setivolkylany
. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com.

Reset password working with unregister user and no with register. Why?

2016-02-25 Thread setivolkylany
*urlconf:* from django.conf.urls import url, include, patterns from django.contrib import admin from django.views.generic import TemplateView from django.conf import settings urlpatterns = [ url(r'^$', TemplateView.as_view(template_name="index.html"), {}, 'index'), url(r'^accounts/',

Alternative Amazon S3?

2016-02-24 Thread setivolkylany
What Alternative Amazon S3 for serve media(uploaded) on website (Heroku hosting)? I need only storage for media files because Heroku deleting my files -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Why Django-User have all perms, even unexistent?

2016-02-21 Thread setivolkylany
Code in ipython - In [51]: from django.contrib.auth.models import User In [52]: User.objects.all() Out[52]: [, , ] In [53]: user = User.objects.last() In [54]: user.is_superuser Out[54]: True In [55]: user.f user.first_name user.from_db

Invoke not right worked

2016-02-21 Thread setivolkylany
*my file with invoke-task (tasks.py)* . from invoke import run, task separeted_line = eval('\'*\'*50') sample = "\n{0}\n*** Finished: {1} ***\n{0}\n" @task def run_stadalone_configure(): command = './manage.py collectstatic --noinput'

Why on Pythonenywhere not worked MediaElement, FancyBox and VideoJS

2016-02-21 Thread setivolkylany
See http://eugenelysenkowebsite.pythonanywhere.com/en/files/video/1/ | not worked MediaElement, but worked standart HTML VideoPlayer -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from

Not displayed my Images for website, django-admin, VideoJs, MediaElement

2016-02-20 Thread setivolkylany
I do not known - Why. Example page from website: http://eugenelysenkowebsite.pythonanywhere.com/en/contact_me/about_me/ Example from settings --- import re from .base import * DEBUG = False ALLOWED_HOSTS = ['eugenelysenkowebsite.pythonanywhere.com']

Gmail Django

2016-02-19 Thread setivolkylany
my settings EMAIL_USE_TLS = True DEFAULT_FROM_EMAIL = 'webmaster@vaility' EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_FILE_PATH = None EMAIL_HOST = 'smtp.gmail.com' EMAIL_HOST_PASSWORD = 'lv210493' EMAIL_HOST_USER = 'setivolkyl...@gmail.com' EMAIL_PORT = 587