Re: NAS using Django

2016-03-10 Thread reduxionist
On Wednesday, March 9, 2016 at 7:15:17 PM UTC+7, Vayuj Rajan wrote: > > Hi, > I have a query whether we can implement NAS (network attached storage) > functionality using Django framework? > FWIW FreeNAS uses Django for its web admin (at least it did last time I

Absolute beginner, missing icons on admin page

2016-03-10 Thread David Hou
I'm just working through the tutorials right now and noticed that my admin page is missing some of the icons (add, change, calender) that are in the tutorial. Looking through the HTML, these icons don't even seem to exist. Am I doing something wrong? -- You received this message because you

Re: Model or Form class

2016-03-10 Thread Bob Gailer
On Mar 10, 2016 9:01 PM, "Denis Makarov" wrote: > > Hello guys! In whitch cases need to use models.Model class and in whitch forms.Form? Models define tables in a database. Forms assist in creating HTML forms for gathering, valididating and saving user input. Does that

Model or Form class

2016-03-10 Thread Denis Makarov
Hello guys! In whitch cases need to use models.Model class and in whitch forms.Form? Don't understand it readed the documentation. -- 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

Re: Unable to parse connection string: "" when using django cache

2016-03-10 Thread Nandakumar Chandrasekhar
Sorry forgot to add the traceback I am getting: Internal Server Error: / Traceback (most recent call last): File "/Users/nchandrasekhar/PycharmProjects/horizon/.venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 88, in get_response response = middleware_method(request)

Installing Django and Running with Canopy

2016-03-10 Thread jda0017
Hello All, I am new to this group but I need some help installing and running Django on a mac. I prefer to use Enthought's Canopy as my Python environment. Can anyone help me out with this? -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Unable to parse connection string: "" when using django cache

2016-03-10 Thread nav
Hi, I am configuring the memcache backend to use with django and have the following things setup: CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211', } } CACHE_MIDDLEWARE_ALIAS =

Re: Development of web based image processing package

2016-03-10 Thread Mario R. Osorio
I know nothing about the subject, but I stumbled upon this article I think might be useful in your endeavor: Fundamentals of Image Processing - behind the scenes On Thursday, March 3, 2016 at

Re: Odd behaviour of DjangoJSONSerializer when serializing datetimes with/without microseconds

2016-03-10 Thread Simon Charette
It looks like I talked to fast. The microseconds are explicitly stripped because the string format used is based on ECMA-262: http://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.15 >From what I understand JavaScript dates are limited to millisecond precision. Simon Le jeudi 10 mars

Re: Odd behaviour of DjangoJSONSerializer when serializing datetimes with/without microseconds

2016-03-10 Thread Simon Charette
Hi Rob, The fact DjangoJSONEncoder strips microseconds is definitely a bug that should be reported: > e.default(datetime.datetime(year=2016, month=1, day=1, hour=1, minute=1, second=1, microsecond=123456)) > '2016-01-01T01:01:01.123' I think always including the microseconds could make sense

Re: Best bootstrap plugins-addons in django-bootstrap project?

2016-03-10 Thread Горобец Дмитрий
http://bootstraptour.com/ четверг, 10 марта 2016 г., 17:57:34 UTC+5 пользователь setivo...@gmail.com написал: > > 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

Re: NAS using Django

2016-03-10 Thread Aaron C. de Bruyn
Take a look at FreeNAS. They are running FreeBSD with a Django front-end that configures (among other things) Samba shares and Samba AD/domain joins. -A On Wed, Mar 9, 2016 at 11:03 PM, Vayuj Rajan wrote: > Actually, I saw a NAS at my friends place so I came up with an idea

Re: partial database restoration

2016-03-10 Thread Bill Freeman
That's a good question. I'd rather write it in python, but if it runs daily on non-trivial tables, I suspect that performance is better with a script that gets the DB to produce the dump files, maybe onto a NAS. The restore part should be a lot less frequent, so performance is probably less

Re: NAS using Django

2016-03-10 Thread Vayuj Rajan
yes you can say in that way I wanted to create a Owncloud for local server On Thu, Mar 10, 2016 at 3:24 PM, Florian Schweikert wrote: > On 10/03/16 08:03, Vayuj Rajan wrote: > > I configured SAMBA and I can access it directly at my computer. But what > > I saw there that

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

Odd behaviour of DjangoJSONSerializer when serializing datetimes with/without microseconds

2016-03-10 Thread 'Robert Kirberich' via Django users
Hi, I stumbled across this yesterday while trying to figure out why some of my tests would sometimes fail when serializing and deserializing datetimes to JSON. DjangoJSONSerializer only includes the milliseconds in the encoded string if the original datetime has a non-zero microsecond value -

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

Re: Both directly transfer data from django to jQuery

2016-03-10 Thread Sergiy Khohlov
Ajax ? Have you checked this one ? Many thanks, Serge +380 636150445 skype: skhohlov On Thu, Mar 10, 2016 at 2:18 PM, wrote: > I had method model that generate dict, sample: > > { > 'translators': 5, > 'glossaries': 1, > 'abbrs': 0, > } > > I want

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

Re: NAS using Django

2016-03-10 Thread Florian Schweikert
On 10/03/16 08:03, Vayuj Rajan wrote: > I configured SAMBA and I can access it directly at my computer. But what > I saw there that he was accessing it by using a website . So basically > he was accessing it from local web server with a storage attached. You basically want something like