django-cruds-adminlte 0.0.4 is out

2017-05-09 Thread Óscar M . Lage
Hey guys! I would like to say that django-cruds-adminlte 0.0.4 is out (https://github.com/oscarmlage/django-cruds-adminlte). We're requesting for collaboration but if not (dunno what happens, maybe the goal of the project is not too attractive for the community) I would be so pleased to

i dont know from where to start my first project on django

2017-05-09 Thread vitalysweb
Hi everyone, My project consists of a web site which allows to manage the reservations of vehicles by customers. These customers are required to work with these vehicles as drivers 35 hours a week *front office* __During registration on the site the user will have to load documents (pdf, jpeg

Re: Unicode error in __unicode__(self) function

2017-05-09 Thread m712 - Developer
On May 9, 2017 11:42 AM, Melvyn Sopacua wrote: > I'm sorry - but this isn't your real error. Your error is in another castle? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Need help with deployment

2017-05-09 Thread Antonis Christofides
Django + Apache does make a good combination, but actually you are talking about Django + Apache + mod_wsgi + Windows (which is pretty much the only combination for Windows, excluding IIS about which I know absolutely zero). But you should also consider another operating system; see

Re: sqlite3 database encrytion for Django.

2017-05-09 Thread Antonis Christofides
> and root seems (unsurprisingly) able to do anything desired with the > database. He meant that root wouldn't be able to read the database if the database was encrypted. But, again, the question is whether root would have access to the encryption keys. If the django user has access to the

Please help me to solve. I am a biginner. I am following Django tutorial on its Documentation from thier website.

2017-05-09 Thread Ngazetungue Muheue
-- 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.

Re: i dont know from where to start my first project on django

2017-05-09 Thread Mark Phillips
Start with the model layer. Use the admin interface to add some dummy data and think about how you want the front facing pages/forms to look and operate. Repeat as needed. Mark On Tue, May 9, 2017 at 9:03 AM, wrote: > Hi everyone, > My project consists of a web site which

Re: Angular 2 + Django + Postgresql

2017-05-09 Thread marcin . j . nowak
>From my personal experience: - make frontend (angular) almost 100% separate from backend (django) - if you want to build truly restful service, avoid DRF (more precisely -- avoid whole "magical" model views, which implements CRUD antipattern) - focus on hypermedia (i.e. use Hydra,

Re: sqlite3 database encrytion for Django.

2017-05-09 Thread Melvyn Sopacua
On Tuesday 09 May 2017 09:24:08 Antonis Christofides wrote: > > and root seems (unsurprisingly) able to do anything desired with the > > database. > > He meant that root wouldn't be able to read the database if the > database was encrypted. But, again, the question is whether root > would have

Re: Problem with CircularDependency Model

2017-05-09 Thread Melvyn Sopacua
On Friday 05 May 2017 05:41:52 Tobias Dacoir wrote: > I am trying to build a model (in two separate apps) which has the > following constraints: > > - There can be many institutes > - there can many users > - each user is a member of exactly one institute > - each institute has exactly one master

Re: vs {{ form }}

2017-05-09 Thread Melvyn Sopacua
On Friday 05 May 2017 06:17:12 guettli wrote: > Am Donnerstag, 4. Mai 2017 16:03:25 UTC+2 schrieb Todor Velichkov: > > Take a look at: > > 1) Form rendering options > > > -options> 2) Outputting forms as HTML > >

Re: Admin css question for 1.10.7

2017-05-09 Thread Mike Dewhirst
On 9/05/2017 11:45 AM, Mike Dewhirst wrote: On 8/05/2017 11:02 PM, Melvyn Sopacua wrote: On Monday 08 May 2017 03:57:01 Tim Graham wrote: > You need to clone the Django repository and run the bisect command > from there: snip running /home/melvyn/hg/django-project/invert.sh Bisecting:

Re: Admin css question for 1.10.7

2017-05-09 Thread Melvyn Sopacua
On Tuesday 09 May 2017 17:48:43 Mike Dewhirst wrote: > On 9/05/2017 11:45 AM, Mike Dewhirst wrote: > > On 8/05/2017 11:02 PM, Melvyn Sopacua wrote: > >> On Monday 08 May 2017 03:57:01 Tim Graham wrote: > >> > You need to clone the Django repository and run the bisect > >> > command > > >> > from

Re: Unicode error in __unicode__(self) function

2017-05-09 Thread Melvyn Sopacua
On Monday 08 May 2017 09:10:15 rmschne wrote: > I have a Django setup that has worked for a very long time. Yesterday > I upgraded from Django 1.10 to 1.11.1 and am getting the error: > > raise DjangoUnicodeDecodeError(s, *e.args) > django.utils.encoding.DjangoUnicodeDecodeErrorJón > > :

Re: field cannot be specified for model form as it is a non-editable field

2017-05-09 Thread marcin . j . nowak
Thank you for all replies. @James Your proposal about design change is generally OK, but while doing the upgrade I definitely DO NOT want to change the implementation. It is just too risky. @Tim Sorry for hostile sounding, but I'm just tired of such drastic changes. For a x-years long

Re: How to fix i18n fallback , from variant xx-YY to xx and from xx to en the translatino is not available.

2017-05-09 Thread Melvyn Sopacua
On Monday 08 May 2017 09:27:52 Abdullah Sh. wrote: > Well as far I can test, Django i18n does supports fall-back 'xx-YY' to > 'xx' then to default ('en' in my case) but only for 'Accept-Language' > user agent header. It does not do same for URL language switch. Could you please report this as a

Re: Please help me to solve. I am a biginner. I am following Django tutorial on its Documentation from thier website.

2017-05-09 Thread Lachlan Musicman
A quick google search shows that this error message means that port is in use by another program. Try: python manage.py runserver 8080 or python manage.py runserver 8081 instead? cheers L. -- "Mission Statement: To provide hope and inspiration for collective action, to build collective

Re: Passing template_context vars to the starproject command

2017-05-09 Thread manikos
Did you find a solution to that? On Saturday, May 5, 2012 at 2:48:28 PM UTC+3, Dom Guardiola wrote: > > I have a working project template that I can use with the new "--template" > option of the startproject management command > > Now Iwanted to pass more variables in the template_context, and

Re: vs {{ form }}

2017-05-09 Thread Jani Tiainen
And, if your really want to, you can do all that manually without using django rendering facilities - since nothing forces you to do that. It's just few convenience tools to create something to start with. That way you have full control over your forms and how they look like and where are all

Re: Unicode error in __unicode__(self) function

2017-05-09 Thread Vijay Khemlani
Paste the whole stack traceof the error On 5/9/17, rmschne wrote: > > >> I'm sorry - but this isn't your real error. >> >> You will see it in your WSGI daemon logs once you set DEBUG to false. >> >> >> >> This error is caused by Django trying to print the error using ascii

Re: i dont know from where to start my first project on django

2017-05-09 Thread Lachlan Musicman
A further tip. Your models might be (doesn't have to be): - Drivers - Cars - reservations (a Many to Many relationship with extra fields https://docs.djangoproject.com/en/1.11/topics/db/models/#extra-fields-on-many-to-many-relationships ) cheers L. -- "Mission Statement: To provide hope

Re: Need help with deployment

2017-05-09 Thread Luiz Guilherme Silva
Here is a tutorial about Django and IIS (old, but...) https://www.toptal.com/django/installing-django-on-iis-a-step-by-step-tutorial 2017-05-09 3:59 GMT-03:00 Antonis Christofides : > Django + Apache does make a good combination, but actually you are talking >

Hiring | Simons Foundation | Full Stack Software Engineer | Onsite/Full time | New York City, NY

2017-05-09 Thread 'Steven Ford' via Django users
Simons Foundation is looking for a passionate Full Stack Software Engineer! Simons Foundation exists to support basic - or discovery-driven - scientific research. We do this through direct grants in four areas: Mathematics and Physical Sciences, Life Sciences, Autism Research (SFARI), and

Model (beginner user) : Sum of the model entries

2017-05-09 Thread Rúben Rodrigues
Hi people, I'm new in django, so i have simple questions. Sorry for that. I want to develop a simple app to make entries in stock. To start i install the jet dashboard and start an app called polls: https://ibin.co/3LmUv6rGJRXt.png I want to add a entrie and inside i need to have a table

django admin ajax file upload

2017-05-09 Thread Olivier Dalang
Hi ! Here we use Django admin as main input interface for our staff in the field. Our models have image fields, where the staff directly loads images from the camera. There are two main problems : - the form is very slow to submit, as everything is uploaded at once, at the very end, even if

Re: Unicode error in __unicode__(self) function

2017-05-09 Thread rmschne
> I'm sorry - but this isn't your real error. > > You will see it in your WSGI daemon logs once you set DEBUG to false. > > > > This error is caused by Django trying to print the error using ascii codec > for the debug output (I haven't chased it down any further and I should > really