Re: 'Sandboxed' Template engine/context

2020-07-10 Thread Michael Thomas
Hi, I'm aware that other template engines could be used, but it would be much more preferable to stick with Django's template engine for a variety of reasons (eg. using the same tags in the 'sandboxed' environment vs. regular). On Friday, 10 July 2020 14:41:30 UTC+4, Integr@te System wrote: >

Performance queries helps

2020-07-10 Thread carlos
Hi, i need any advice for performance queries i have a model name Post post have m2m categories and fk author the index page show 7 categories in separated row i try performance this example queryset_global =

Re: How to get data from django model to excel sheet using openpyxl including images.

2020-07-10 Thread VenkataSivaRamiReddy
Hi man, Have you tried *xlsxwditer* package. If not please check On Fri, Jul 10, 2020, 19:23 Ashutosh Mishra wrote: > I am doing that using openpyxl > But not getting the image in excel sheet > > > https://stackoverflow.com/questions/62695531/cannot-convert-fieldfile-jpg-to-excel-django > >

Re: Bug tracking system

2020-07-10 Thread VenkataSivaRamiReddy
You want to perform support ticket system .. On Fri, Jul 10, 2020, 20:21 John McClain wrote: > Hello, > > You could use this for a skeleton I created. Not perfect but a head start > > https://decoder-cookbook.herokuapp.com/ > > https://github.com/Jmcclain0129/decoder_cookbook > > cheers > > On

Limiting access to data through user permissions?

2020-07-10 Thread Will Meyers
Just need some help getting over a wall I've hit. I have a web application that whenever a user signs up, is assigned a License. This License has CustomPermissions attached to it telling what values of a field within a materialized view they have access to. I have an API that needs to filter

DB Router default issue

2020-07-10 Thread JJ Zolper
Hello, I am trying to prevent models in my api app from migrating into the default database but I'm confused about the router. It seems every time I run migrate even with the router it continues to migrate. #apps.py from django.apps import AppConfig class ApiConfig(AppConfig): name =

Re: Django ContentTypes required?

2020-07-10 Thread JJ Zolper
Dan, Thank you so much. I was able to get it figured out after I smoothed out an issue with the database. My assumption is something with the database was causing it to throw this confusing and unrelated error. I changed the settings files around too but really did not change or remove

DB Router default issue

2020-07-10 Thread JJ Zolper
Hello, I am trying to prevent models in my api app from migrating into the default database but I'm confused about the router. It seems every time I run migrate even with the router it continues to migrate. #apps.py from django.apps import AppConfig class ApiConfig(AppConfig): name =

Re: note sharing

2020-07-10 Thread Kunal Solanke
If you don't want to do complicated things just add manytomany field for sharewith in note model And while user requests the notes page just make a query to database Notes.objects.filter(Q(sharedwith=current_user ) l Q(author=currentuser)) And send this back to user Imp-while creating a note

note sharing

2020-07-10 Thread mick
Hello guys Please anyone help me out I am not able to figure out the internal sharing with selected? Django website where users can privately create and share notes. All users will have an account and they will be able to signup then login to their account. Once logged in they will be able to

Wrong use of the word "module" in the Documentation

2020-07-10 Thread Ivo Shipkaliev
Hi there. I was reading Django Documentation, specifically Models page: https://docs.djangoproject.com/en/3.0/topics/db/models/ Under "Using models" section, the second sentence reads: "Do this by editing your settings file and changing the INSTALLED_APPS setting to add the name of the module

Re: Bug tracking system

2020-07-10 Thread John McClain
Hello, You could use this for a skeleton I created. Not perfect but a head start https://decoder-cookbook.herokuapp.com/ https://github.com/Jmcclain0129/decoder_cookbook cheers On Fri, 10 Jul 2020 at 14:37, Anupriya Nishad wrote: > Can anyone guide me on how to create a bug tracking system?

Re: How to get data from django model to excel sheet using openpyxl including images.

2020-07-10 Thread Ashutosh Mishra
I am doing that using openpyxl But not getting the image in excel sheet https://stackoverflow.com/questions/62695531/cannot-convert-fieldfile-jpg-to-excel-django See this On Fri, Jul 10, 2020, 7:15 PM Vishesh Mangla wrote: > Api’s are better suited for Django rest framework. > > > > Sent from

RE: How to get data from django model to excel sheet using openpyxl including images.

2020-07-10 Thread Vishesh Mangla
Api’s are better suited for Django rest framework. Sent from Mail for Windows 10 From: Ashutosh MishraSent: 10 July 2020 18:30To: Django usersSubject: Re: How to get data from django model to excel sheet using openpyxl including images. i have created an api through which i can download the excel

Bug tracking system

2020-07-10 Thread Anupriya Nishad
Can anyone guide me on how to create a bug tracking system? 1. Allows create account login logout 2. Allows u to create tickets, edit and delete them -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: How to get data from django model to excel sheet using openpyxl including images.

2020-07-10 Thread Ashutosh Mishra
i have created an api through which i can download the excel file with all fields except images.I am posting my models and views models.py class Task(models.Model): Id=models.IntegerField() Name=models.CharField(max_length=50,null=False,blank=True) Image1=models.FileField(blank=True,

Re: Looking for angular-django developers

2020-07-10 Thread sourav chakraborty
Django developer post with 3 years experience without Salary , great show ..carry on. On Fri, Jul 10, 2020 at 3:42 PM maninder singh Kumar < maninder.s.ku...@gmail.com> wrote: > You were told there was no salary. Is that what’s annoying or the fact > that I don’t think it’s prudent to reply to

Do I need to change my normal Django code when introducing Django Channels?

2020-07-10 Thread Marlon Patrick
Hi guys, I'm new to the python world and consequently I'm new to Django, Channels, WSGI, ASGI, etc. I asked this question on StackOverflow but I still haven't had any answers, so I decided to post here in order to try to receive some guidance.

Re: How to get data from django model to excel sheet using openpyxl including images.

2020-07-10 Thread o1bigtenor
On Thu, Jul 9, 2020 at 10:02 PM Ashutosh Mishra wrote: > I am creating an api to get data and images from django model to excel > sheet ,how can i do that,someone please help me. > > > What have you tried so far? Regards -- You received this message because you are subscribed to the Google

Re: Looking for angular-django developers

2020-07-10 Thread Hadisur Rahman
why not u told that here when posting ur post, man. On 7/10/20, maninder singh Kumar wrote: > You were told there was no salary. I rest my case. > > Sent from my iPhone > >> On Jul 10, 2020, at 3:48 PM, Hadisur Rahman wrote: >> >> Edited: >> >> Dear Kumar, U have to mention it with ur post but

Re: Looking for angular-django developers

2020-07-10 Thread maninder singh Kumar
You were told there was no salary. I rest my case. Sent from my iPhone > On Jul 10, 2020, at 3:48 PM, Hadisur Rahman wrote: > > Edited: > > Dear Kumar, U have to mention it with ur post but u do not did it. If > u do it i don,t spend 2 hours to ready my CV and send it to u, thanks > >> On

Re: 'Sandboxed' Template engine/context

2020-07-10 Thread Integr@te System
Hi Michael, Some templates as mako, jinja, genshi... On Fri, Jul 10, 2020, 4:23 PM Michael Thomas wrote: > Hi all, > > Does anyone know of a straightforward way to create an independent > template engine instance with a subset of the tags/filters/etc. defined? > > The use-case is for

Re: Looking for angular-django developers

2020-07-10 Thread Hadisur Rahman
Edited: Dear Kumar, U have to mention it with ur post but u do not did it. If u do it i don,t spend 2 hours to ready my CV and send it to u, thanks On 7/10/20, Hadisur Rahman wrote: > Dear Kumar, U have to mention it with ur post but i do not did it. If > u do i don,t spend 2 hours to ready

Re: Looking for angular-django developers

2020-07-10 Thread Hadisur Rahman
Dear Kumar, U have to mention it with ur post but i do not did it. If u do i don,t spend 2 hours to ready my CV and send it to u, thanks On 7/10/20, maninder singh Kumar wrote: > You were told there was no salary. Is that what’s annoying or the fact that > I don’t think it’s prudent to reply

Re: Looking for angular-django developers

2020-07-10 Thread maninder singh Kumar
I frankly don’t care what the admin does ! Sent from my iPhone > On Jul 10, 2020, at 3:41 PM, maninder singh Kumar > wrote: > > You were told there was no salary. Is that what’s annoying or the fact that > I don’t think it’s prudent to reply to your aggressive comment. Whichever it > is

Re: Looking for angular-django developers

2020-07-10 Thread maninder singh Kumar
You were told there was no salary. Is that what’s annoying or the fact that I don’t think it’s prudent to reply to your aggressive comment. Whichever it is mr hadisur there is a project and it will go on without you Sent from my iPhone > On Jul 10, 2020, at 11:23 AM, Hadisur Rahman wrote: >

django.db.migrations.exceptions.InconsistentMigrationHistory: Migration chat.0001_initial is applied before its dependency account.0045_auto_20200618_1121 on database 'default'.

2020-07-10 Thread Minh Giang Hoàng
I'm encountering this problem for the first time. The order of the application for the files are correct (account before chat). Is there anyone willing to help? :) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

'Sandboxed' Template engine/context

2020-07-10 Thread Michael Thomas
Hi all, Does anyone know of a straightforward way to create an independent template engine instance with a subset of the tags/filters/etc. defined? The use-case is for allowing user-supplied template content, while preventing said users from being able to use features that could be dangerous,