Re: I want to build dynamic report tool using and postgres and reports are like tables based on locations

2018-12-16 Thread aryan patel
Hi , Thanks for response. Using that can I display my report on web. And is it helpful to create that report location specific. For example if any user logged in and it has role for a district then the data should appear only for his district. Regards, Aryan On Mon 17 Dec, 2018, 12:15 PM Jani

Re: I want to build dynamic report tool using and postgres and reports are like tables based on locations

2018-12-16 Thread Jani Tiainen
Hi. I've been using wkhtmltopdf for my reports. It's very easy to use and best of all you can use whatever webkit browsers do support. There also exists reportlab that can generate reports. aryan patel kirjoitti su 16. jouluk. 2018 klo 21.18: > Kindly give me any suggestions or any guidance

Re: [ask] Django video streaming server

2018-12-16 Thread Riska Kurnianto
Ok, i'll try to make with this one, Thank you. On Sun, 16 Dec 2018, 15:36 Yavin Aalto Arba https://github.com/andrewebdev/django-video > > there are plenty of other good plugin out there. Why build from scratch? > Other peoples peer-reviewed plugin are most likely better than whatever you > can

APIview CSRF Protect Usage

2018-12-16 Thread cyril moreau
Hi, I dont understand how works the CSRF Protection with an API View. I understand the process when using a django template : When the template loads, The form page get a hidden field with an alphanumeric string and the client get a csrf cookie with another alphanumeric. When submitting the

Re: New to Django

2018-12-16 Thread Pradeep Sukhwani
Normally this type of issue comes when you are not using the environment where Django is installed or maybe you forgot to install Django. To confirm Django is install successfully run this in your terminal: python -c "import django; print(django.get_version())" On Saturday, December 15, 2018

No query results on heroku, but working on local development server

2018-12-16 Thread Joel Mathew
0down votefavorite I just started using heroku today. I was testing a web application, and got different results on using django app from local development server and

Re: New to Django

2018-12-16 Thread Steven N
I think you have not installed django, `pip install django` you can confirm if django is installed in your current environment by doing `pip list` if it is, you will see it in the list. This might come in handy On Sun, Dec 16, 2018, 1:47 PM

move a django model to another app which is parent model for another model

2018-12-16 Thread shayegan hooshyari
I would be happy if you check this question and see if you can help. https://stackoverflow.com/questions/53802842/move-a-django-model-to-another-app-which-is-parent-model-for-another-model -- You received this message because you are subscribed to the Google Groups "Django users" group. To

rest API create a signed_cookies including my token

2018-12-16 Thread cyril moreau
Hi, I am looking for information/help about storing my token in a cookie in a safe way. Backend : Django rest framework - Frontend Reacjs I am using django-rest-framework-social-oauth2 to get a token (from different

How to configure cookie in django1.8

2018-12-16 Thread SNJY G
Hi, In my setup, website authentication is handled by middleware ldap module. Could someone please guide how cookie can be configured on django session id. Thanks, Sanjay -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

I want to build dynamic report tool using and postgres and reports are like tables based on locations

2018-12-16 Thread aryan patel
Kindly give me any suggestions or any guidance . -- 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

Re: Trouble With Tutorial #1 - NameError: name 'polls' is not defined

2018-12-16 Thread Sarthak Khandelwal
can you send your file structure after this step? I am having a similar problem, after adding views to url according to the tutorial in the documentation, when I was trying to run the server i was having a similar to your problem. If anyone has completed this step please share the file structure

Re: Use an aggregation function's filter with aggregate of a value from an annotation with a subquery

2018-12-16 Thread Daniel Gilge
Hi, I’ve spent several hours to find a solution but I couldn’t: Case … When doesn’t seem to help. I can’t use Window because I have to do a calculation over rows not included in the queryset. I don’t see another solution than using raw SQL (or so) or fixing an (assumed) Django bug. Does

Re: New to Django

2018-12-16 Thread tom riddle
Thanks for the responses. I was able to figure this out - I believe my issue was that I did not activate the virtual environment and cd into the folder containing the Django-admin exec file. Once I did that the command worked. On Sun, Dec 16, 2018 at 5:47 AM Okware Aldo wrote: > I can remotely

Re: New to Django

2018-12-16 Thread Okware Aldo
I can remotely help, provide access me with remote access or push code github On Sat, 15 Dec 2018, 20:54 Hello - I'm trying to get Django up and running and I'm having some likely > trivial trouble. I'm following the "Writing your first Django app" > tutorial, but I'm getting stuck trying to