Re: Reporting for Django 2

2018-04-09 Thread Avraham Serour
Do you have a question or just sharing? On Sat, 7 Apr 2018, 1:33 , wrote: > Hi > > I've been trying different django reporting packages with no success > > Apparently, all of them are developed for versions previous than Django 2.0 > > Any help will be appreciated > > José > > -- > You received

no styling

2018-04-09 Thread Paul Baforh
Please, my django development page is without css. How do I go about it. Thanks -- 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...@googleg

Django - Angular 4 Serializer for inserting Parent and child Models using single JSON post

2018-04-09 Thread Nathan Sivathanu
My requirement - I have two models TravelReq and TravelReqDetails as below class TravelReq(models.Model): empid= models.CharField(max_length=7) startdate= models.DateField() enddate= models.DateField() remarks= models.CharField(max_length=30) missionname= models.CharField(m

Re: Reporting for Django 2

2018-04-09 Thread José Espina
Ah si, olvidé la pregunta Is anybody using a package for reporting? Thanks, José 2018-04-09 6:43 GMT-03:00 Avraham Serour : > Do you have a question or just sharing? > > On Sat, 7 Apr 2018, 1:33 , wrote: > >> Hi >> >> I've been trying different django reporting packages with no success >> >> A

Re: no styling

2018-04-09 Thread James Farris
Hi Paul, Have you read this part of the docs? https://docs.djangoproject.com/en/2.0/howto/static-files/ You will need a static files directory and will need to tell Django where it is In settings.py Sent from my mobile device > On Apr 9, 2018, at 5:04 AM, Paul Baforh wrote: > > Please, my d

What were your best resources in learning programming, python, ultimately django?

2018-04-09 Thread Amber Pond
What were your best resources in learning programming, python, ultimately django? Hi friends! Just starting out with some basic html and css knowledge, and I am taking my first python class. When you were first learning programming, what were you MOST influential and helpful resources? Reply t

Re: What were your best resources in learning programming, python, ultimately django?

2018-04-09 Thread Jorge Gimeno
Team Treehouse was a great learning resource. It's paid, but I felt it was worth it. -Jorge L. Gimeno On Mon, Apr 9, 2018, 8:06 AM Amber Pond wrote: > What were your best resources in learning programming, python, ultimately > django? > > Hi friends! > > Just starting out with some basic html a

Re: What were your best resources in learning programming, python, ultimately django?

2018-04-09 Thread Mateusz Kurowski
https://www.youtube.com/watch?v=HTLu2DFOdTg&list=PLRVdut2KPAguz3xcd22i_o_onnmDKj3MA https://www.youtube.com/watch?v=7lmCu8wz8ro&list=PLOAwbpVBkzASOH-SzAq8NMI7H-Eo-Vql8 https://www.youtube.com/watch?v=tkwZ1jG3XgA&list=PLOAwbpVBkzAQtFNxWpbeDAGRacBn6aL7t&index=7 https://www.youtube.com/watch?v=Zo5q48B

Re: What were your best resources in learning programming, python, ultimately django?

2018-04-09 Thread James Farris
Early on Lynda.com was my best friend for learning basics like HTML and CSS. Then a lot of practice. Later on I took a coding boot camp in my area that really accelerated my learning and filled in a lot of the missing pieces. It covered HTML, CSS, PHP, Ruby on Rails and SQL to name a few. Th

Re: What were your best resources in learning programming, python, ultimately django?

2018-04-09 Thread jacob duyon
Do the class completely. Don't skip anything, especially things that are hard. Always try to figure something out on your own, and take breaks when you are completely stuck. If you are ever stuck, ask yourself why you are stuck, and usually its because you don't understand some dependency. Google e

Re: Django blocking on writing logs

2018-04-09 Thread Avraham Serour
It seems you are right, I found this SO thread dealing with the same question: https://stackoverflow.com/questions/34349797/are-log-statements-blocking-in-django-python In pratical terms I use sentry, the python client claims to use a threaded async approach, I suggest taking a look at their imple

Re: Pant builds with django

2018-04-09 Thread Avraham Serour
what is pant builds? On Thu, Apr 5, 2018 at 11:24 PM, Allan Nava wrote: > Is possible use pant builds 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 a

Re: Help: 'django.utils.six.moves' is not a package

2018-04-09 Thread Avraham Serour
sounds like django 2 removed six and some library you are using still hopes it exists. what django version are you using? On Mon, Apr 9, 2018 at 3:39 AM, Derek Zeng wrote: > I got the following error when running pytest in django. Help is > appreciated. > > This is the test I run > > import pyt

Re: serializers

2018-04-09 Thread Avraham Serour
Can you phrase the question better? The way it is written makes it hard to understand exactly what you need here. On Thu, Apr 5, 2018 at 5:33 PM, siva.gatti wrote: > how to add created_by_id to serializers in django rest rest frame work and > created_by_id is stored in session when the user is l

Re: Is a Complex filter with __in and __exact possible?

2018-04-09 Thread Tassilo Karge
Probably I should not post into a ten-year old thread, but it was this thread which helped me in my problem, so I want to share my solution to the problem in case anyone else finds this. Am Samstag, 7. März 2009 06:00:55 UTC+1 schrieb Malcolm Tredinnick: > > One day I'll stop posting in this thre

Re: Help: 'django.utils.six.moves' is not a package

2018-04-09 Thread Derek Zeng
I'm using django 2.0. What exactly is the purpose of django.utils.six.moves module? I have read the source but don't quite understand. Seems like a poly-fill of pre-existing libraries like urllib On Mon, Apr 9, 2018 at 3:47 PM, Avraham Serour wrote: > sounds like django 2 removed six and some l

Re: What were your best resources in learning programming, python, ultimately django?

2018-04-09 Thread Amber Pond
Thanks! I can't wait to watch these. I'll let you know if it helped me. At quick glance I may not be advanced enough to benefit from them yet. On Monday, April 9, 2018 at 11:16:46 AM UTC-4, Mateusz Kurowski wrote: > > > https://www.youtube.com/watch?v=HTLu2DFOdTg&list=PLRVdut2KPAguz3xcd22i_o_onnm

Re: What were your best resources in learning programming, python, ultimately django?

2018-04-09 Thread Amber Pond
Yes! team treehouse is the only resource I paid for (besides college *groan*), but it reay worked for me. I used it for the ruby on rails class, but I should definitely use it for the python and django courses. On Monday, April 9, 2018 at 11:11:01 AM UTC-4, jlgimeno71 wrote: > > Team Treeho

Re: What were your best resources in learning programming, python, ultimately django?

2018-04-09 Thread Amber Pond
lynda.com has been recommended to me once before. Maybe its time I take it seriously lol! I'm taking a "principles in programming" class at college, and its really filling in a lot of knowledge gaps and accelerating what I'm learning, so I definitely agree with you there. I've not heard of "The

Re: What were your best resources in learning programming, python, ultimately django?

2018-04-09 Thread Amber Pond
YES! The last two times I was stuck, it was because of formatting, (for example: format("something", .2f)). I still havent got it figured out completely rules and syntax wise, but it did point out that I was stuck because I didnt fully understand something. I also feel like i'm going to be rev

Re: Help: 'django.utils.six.moves' is not a package

2018-04-09 Thread Babatunde Akinyanmi
On Tue, 10 Apr 2018, 02:47 Derek Zeng, wrote: > I'm using django 2.0. > What exactly is the purpose of django.utils.six.moves module? > Allowing a code base to be able to run on both python 2 and python 3 I have read the source but don't quite understand. Seems like a poly-fill > of pre-existing

OAuth2 Token Generation in Django 1.11

2018-04-09 Thread Haroon Ahmed
Hi, I am using Django 1.9.8 and implemented OAuth2, but when i upgrade django to 1.11 my to OAuth2 Token generation gets errors, this is my code to generate token: * data = [* * ('grant_type', 'password'),* * ('username', userName),* * ('password', password),* *]

Django and Live Chat

2018-04-09 Thread Haroon Ahmed
Hi, I am using Django 1.9.8 and Python 3.4.4, will upgrade my django to 1.11, I want to create Chat functionality in my project, My requirement is that application users can Live chat with Admin users and maintain chat history of each user! Please suggest some packages or solution t