Re: Django 2.0 Tutorial Template

2017-12-10 Thread Matthias Müller
It look s fine also to me. What do you expect ? 2017-12-10 5:50 GMT+01:00 Dylan Reinhold : > That looks fine. how about your view.py. > > Dylan > > On Sat, Dec 9, 2017 at 6:05 PM, Carl Brubaker > wrote: > >> I copied it from the django tutorial

Re: new to django

2017-06-12 Thread Matthias Müller
The tutorial in the documentation is a good start. cheers Matthias 2017-06-12 5:49 GMT+02:00 jlew921 : > hi guys new to django...and directions pls??? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe

Re: How o run shell command in Django ?

2016-08-08 Thread Matthias Müller
Hi Asad, run system calls in django means run system calls in python. Python has a library called "os". https://docs.python.org/3/library/os.html See 16.1.6 process management HTH -- Viele Grüße / Best Regards Matthias Müller 2016-08-08 11:33 GMT+02:00 Asad ur Rehman <

Re: Django Beginner

2016-05-26 Thread Matthias Müller
h, what about making the tutorial ? https://docs.djangoproject.com/en/1.9/intro/tutorial01/ enjoy it ! 2016-05-26 9:16 GMT+02:00 Atchuta Saikumar : > Hello ... > I want to learn Django.I have some basic knowledge in python but don't > know oop concepts in

Re: Django formset hidden id field

2015-05-27 Thread Matthias Müller
e csrf. You are right, it would be > difficult to fake the CSRF string. > > Just in general, is it a good idea to expose primary keys like this? > sometimes you can see them in urls too, like: www.yoursite/blog/1/, 1 > would be the primary key of a blog. > > On Wednesday, 27 May

Re: Django formset hidden id field

2015-05-27 Thread Matthias Müller
Without looking at the link I guess that you explantion is more or less correct. But it's not a security issue that the database is updated by a form. It has to be updated by a form. To make it a correct django form there is a hidden field with the CSRF token. This protects the database being

Re: Django 1.7 I just installed postgres, it works but I cannot see my data in postgres database

2015-03-13 Thread Matthias Müller
I do agree to John. Check out the commands createuser --help and createdb --help Matthias 2015-03-13 12:09 GMT+01:00 John : > Sabine, > > It is a really Bad Idea to use the postgres user and database for your > data. Create a new user and database and use

Re: Ubuntu, Postgres, and psycopg2.

2013-10-17 Thread Matthias Müller
You need the python header as well: sudo apt-get install python-dev -- Viele Grüße / Best Regards Matthias Müller 2013/10/17 Nigel Legg <nigel.l...@gmail.com> > Thanks Thomas, that worked, so some progress, but now when I do sudo pip > psycopg2, I get an error: Python.h not found

Re: PostgresSQL or MySql with django?

2013-03-18 Thread Matthias Müller
Make a +1 for postgres. I like the licensemodel of PG more than the license model of Mysql. There's a big community behind (no big company) and there is only one version. Mysql confuses me with the different versions (MariaDB, MySQL..). Since PG has the Hot-Stream-Feature it became more and more

Re: What are projects/apps a beginner python developer should look?

2012-11-10 Thread Matthias Müller
Try youtube. Pretty cool series of django tutorial from HackedExistence. https://www.youtube.com/watch?v=yAyWM-iEIos=youtube_gdata_player If the link does not work, search for HackedExistence and django. Good luck. Regards Matthias Am 10.11.2012 16:29 schrieb "HackTheDay"