objects.filter

2018-11-29 Thread pujiarahman
helo, iam new for python. my : models.py lass logbook_noc(models.Model): idLogbookN = models.IntegerField(primary_key=True) kodetiket = models.CharField(max_length=30) CustName = models.CharField(max_length=30) TanggalLo = models.DateTimeField() DeskripsiLo = models.TextField() StatusProgress

Re: Tutorial - runserver freezes command prompt

2018-11-29 Thread Jani Tiainen
You might want to try Visual Studio Code as well. It has some integration with Python (for example code completion and flake8 and pylint checks on the fly). On Fri, Nov 30, 2018 at 8:04 AM Scott Reed wrote: > Thanks again Jorge! I'm such a noob :/ But this is a great learning > experience.

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Jani Tiainen
Hi, Yes it's very hard to pick a framework (since there exists quite a bunch of different frameworks) if you don't know one. In most cases it's completely irrelevant for Django being as a backend service. So it's not harder or easier to use most of the frameworks. I personally have found openui5

Re: Tutorial - runserver freezes command prompt

2018-11-29 Thread Jorge Gimeno
We all were there once. Keep moving forward! -Jorge On Thu, Nov 29, 2018, 10:04 PM Scott Reed Thanks again Jorge! I'm such a noob :/ But this is a great learning > experience. > > On Thursday, November 29, 2018 at 9:55:00 PM UTC-8, jlgimeno71 wrote: >> >> >> >> On Thu, Nov 29, 2018, 9:40 PM

Re: Tutorial - runserver freezes command prompt

2018-11-29 Thread Scott Reed
Thanks again Jorge! I'm such a noob :/ But this is a great learning experience. On Thursday, November 29, 2018 at 9:55:00 PM UTC-8, jlgimeno71 wrote: > > > > On Thu, Nov 29, 2018, 9:40 PM Scott Reed wrote: > >> Thanks for you response Jorge! I see, that's just to check that it >> worked,

Re: Tutorial - runserver freezes command prompt

2018-11-29 Thread Jorge Gimeno
On Thu, Nov 29, 2018, 9:40 PM Scott Reed Thanks for you response Jorge! I see, that's just to check that it > worked, and I'm supposed to quit the server to keep using the command > prompt. > Another question: I can't figure out the next step - opening the views.py > file in the command prompt.

Looking for a job in python

2018-11-29 Thread Devender Kumar
Hi, I am Devender Kumar from Delhi, India. I am currently looking for a job. I am currently working as a software engineer at kloudyy system here we work on technologies like Python, Django Web framework, and some more tools for developling web platform. I have hands-on experience and

Re: Tutorial - runserver freezes command prompt

2018-11-29 Thread Scott Reed
Thanks for you response Jorge! I see, that's just to check that it worked, and I'm supposed to quit the server to keep using the command prompt. Another question: I can't figure out the next step - opening the views.py file in the command prompt. I've tried navigating to the directory and

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Joel Mathew
>From the point of view of someone who hasnt been using frameworks but wants to, this is all very maddening. Guess I just have to pick one randomly between Vue and Angular! Sincerely yours, Joel G Mathew On Fri, 30 Nov 2018 at 01:51, Benjamin SOULAS wrote: > Hello, > > Currently I

Re: Tutorial - runserver freezes command prompt

2018-11-29 Thread Jorge Gimeno
On Thu, Nov 29, 2018, 4:27 PM Scott Reed Hi, I'm starting the Django polls tutorial. > I've followed all the steps so far: installed Python and Django, set up > the virtual environment, etc. > I'm at the point where you start the Django development server by running > 'py manage.py runserver' in

Tutorial - runserver freezes command prompt

2018-11-29 Thread Scott Reed
Hi, I'm starting the Django polls tutorial. I've followed all the steps so far: installed Python and Django, set up the virtual environment, etc. I'm at the point where you start the Django development server by running 'py manage.py runserver' in the mysite directory. When I execute this

Re: Human Readable Values

2018-11-29 Thread Mike Sacauskis
On Tuesday, November 27, 2018 at 8:15:12 AM UTC-5, Nelson Varela wrote: > > show your code that renders the values > This is the class class Hardware(models.Model): hardware_id = models.AutoField(primary_key=True) compute_asset_name = models.TextField(blank=False, null=False)

Re: No puedo instalar las librerías path y url para ejecutar python manage.py runserver

2018-11-29 Thread heriberto ochoa
Tienes instalado el compilador de c++ de microsoft para python, la falta de el puede arrojar ese error El jue., 29 de nov. de 2018 1:08 p. m., Ing.Daniel Bojorge < debs.fo...@gmail.com> escribió: > Estimado, te sugeriría que actualices la versión de Python a la más > actual. También (asumiendo

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Benjamin SOULAS
Hello, Currently I integrate VueJS, it works like a charm, the documentation is awesome Le jeu. 29 nov. 2018 21:17, Jani Tiainen a écrit : > Also there exist ExtJS, Dojo Toolkit and at least Svelte which I've > tried... > > kennedy kay kirjoitti to 29. marrask. 2018 klo > 21.25: > >> For me

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Jani Tiainen
Also there exist ExtJS, Dojo Toolkit and at least Svelte which I've tried... kennedy kay kirjoitti to 29. marrask. 2018 klo 21.25: > For me personally I would recommend AngularJS. Not just because it easy to > integrate with Django but because you can also create mobile applications > on the

Re: No puedo instalar las librerías path y url para ejecutar python manage.py runserver

2018-11-29 Thread Ing.Daniel Bojorge
Estimado, te sugeriría que actualices la versión de Python a la más actual. También (asumiendo que c:\python34 es la ruta de instalación de python) , para iniciar un proyecto sería en otra carpeta. También trata de usar entornos virtuales. Podrías aclarar esas dudas? Dios L@s Bendiga Saludos,

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread kennedy kay
For me personally I would recommend AngularJS. Not just because it easy to integrate with Django but because you can also create mobile applications on the fly. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Jason
react is like flask, whereas angular is like django as far as what's included in the framework from the start. as long as you have an api, doesn't matter what you use for the frontend whether it be straight JS to angular/vue/react. the question is the understanding of the separation of

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Joel Mathew
I didnt see anyone recommending React. Is there any aspect that makes it difficult to use with django? -- 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

No puedo instalar las librerías path y url para ejecutar python manage.py runserver

2018-11-29 Thread Franklin Guadir
Soy nuevo en este tema y tal ves mi pregunta es absurda pero este problema no me deja avanzar si ustedes me pueden ayudar quedaría inmensamente agradecido. C: \ Python34> ruta de instalación de pip Camino de recogida No se pudo encontrar una versión que satisfaga la ruta del requisito (de

Re: why created_at is greater than updated_at while inserting data in table

2018-11-29 Thread Gerson David Vizquel Alemán
created_at = models.DateTimeField(editable=False)updated_at = models.DateTimeField() def save(self, *args, **kwargs):''' On save, update timestamps ''' if not self.id: self.created_at = timezone.now() self.updated_at = self.created_at self.updated_at = timezone.now()

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Gerson David Vizquel Alemán
You can use vuejs is... a pure love JavaScript framework. Take a look at this: https://2018.stateofjs.com/front-end-frameworks/overview/ El martes, 27 de noviembre de 2018, 16:21:32 (UTC-4), Simon Connah escribió: > > I'm in the process of building a website in Django and need to make a >

Re: Update of issue (Trac) rejected (SPAM ...)

2018-11-29 Thread Simon Charette
>From that point you should post to the developer mailing list as it's reaching more people than the ticket tracker[0]. That should give the opportunity to more people to chime in and provide feedback. Thanks for tackling this issue by the way, this sure is a source a confusion for a lot of

Re: Forbidden (CSRF token missing or incorrect.)

2018-11-29 Thread Zach
when using the development server over HTTP, don't set these values: CSRF_COOKIE_SECURE = True SESSION_COOKIE_SECURE = True On Wednesday, November 21, 2018 at 5:38:19 AM UTC-8, Rabah Saadi wrote: > > Hello, > > I've been using Django 2.2Dev for a while now, since April 2018, and it is >

Re: Update of issue (Trac) rejected (SPAM ...)

2018-11-29 Thread guettli
How to get clear consensus? Am Mittwoch, 28. November 2018 15:31:24 UTC+1 schrieb Tim Graham: > > I marked your comment as "ham" so maybe it'll pass the Bayes filter now. > "Easy pickings" is subjective but I wouldn't consider that issue "easy" > since there's not a clear consensus about how to

Re: Forbidden (CSRF token missing or incorrect.)

2018-11-29 Thread Andreas Schosser
Hi Rabah, I encountered a similar problem today and could pin it to the setting "CSRF_COOKIE_SECURE = True". I don't use https on my development machines so the cookie is not set. Changing the value to "CSRF_COOKIE_SECURE = False" in my local settings solved it. You may check, how you access