Re: Help: Deployment to Production Server

2020-12-27 Thread Devender Kumar
This link contains all expect the settings files and environment variables. first do this then you will be able to dockerize it easly https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04 On Sun, Dec 27, 2020 at 10:19 PM rpower wrot

Re: Is it possible to use REST API on Django template ?

2020-11-25 Thread Devender Kumar
Use ajax with django rest framework On Wed, 25 Nov, 2020, 8:07 pm Omkar Parab, wrote: > Creating REST API in Django is similar to any app on Django. All you need > to do is, install the djangorestframework library, and serialize your > models. > > YT video 👇 > https://youtu.be/TmsD8QExZ84 > On W

Re: I need help

2020-06-09 Thread Devender Kumar
For that you need to create a api and use ajax on javascript side to. Use this api to push that variable either periodically or as per req On Tue, 9 Jun, 2020, 10:24 am meera gangani, wrote: > I have a html file in which i have implementing stopwatch and i have to > that variable stored in djan

Re: A Business Solutions and ERP framework released.

2020-04-28 Thread Devender Kumar
Excited to try it out On Tue, 28 Apr, 2020, 12:43 pm Ramez Ashraf, wrote: > Hello Fellow Developers > > We released the reporting engine of Ra ERP framework as a standalone > package `django-slick-reporting` > https://github.com/ra-systems/django-slick-reporting > > Slick Reporting is a Report E

Re: issues deploying django project to cpanel

2020-03-06 Thread Devender Kumar
You can't deploy to cpanel go for cloud services of pythonanywhere On Fri, 6 Mar, 2020, 12:23 pm Tosin Ayoola, wrote: > good morning guys, > i'm trying to deploy my project on cpanel but i'm encountering this err > msg, hoping anyone can help me out > i have the screen shot of the msg below tnks

Project directory management

2020-02-28 Thread Devender Kumar
Hi, BTW it is flask app question. dir structure service config/__init__.py config/config.py src/app.py src/__init__.py Running the flask app by writing command python src/app.py Question: I want to access config parameter in flask app from config module of config package how

Re: Images and pdfs for production level

2020-02-15 Thread Devender Kumar
Read about cloudfront that will help you for sure. On Sun, 16 Feb, 2020, 11:03 am Soumen Khatua, wrote: > Actually I'm using s3 bucket but I want to convert it as a CDN. Could you > tell me how I can do that? > > Thank you > > Regards, > Soumen > > On Fri 14 F

Re: Images and pdfs for production level

2020-02-13 Thread Devender Kumar
I will suggest you go with AWS S3 you can use boto3 lib available for python On Thu, 13 Feb, 2020, 12:32 pm Soumen Khatua, wrote: > Yes,I want to use CDN for my static files. But I don't know how to > implement it. > > On Wed, Feb 12, 2020 at 9:04 PM Devender Kumar >

Re: Images and pdfs for production level

2020-02-12 Thread Devender Kumar
Some CDN On Wed, 12 Feb, 2020, 7:18 pm Soumen Khatua, wrote: > Hi Folks, > Where I need to store images and pdfs for production level. > > Thank you in advance > > regards, > Soumen > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To un

Re: Python Django Training

2020-02-03 Thread Devender Kumar
Seems lot of people are interested in learning django I will their for you guys if need any help in django let me know or if you guy need to have quick start I can deliver a lecture too for free. Best of luck for your future On Tue, 4 Feb, 2020, 2:40 am saifadnan abdallah, < saifadnanabdal...@gm

Re: Internship

2019-11-22 Thread Devender Kumar
Can I get your linkedin profile. And git repo links On Sat 23 Nov, 2019, 2:00 AM Elijah O. Raji, wrote: > Sir, I'm also interested in the internship as a backend developer. > I base in Nigeria. > I can work remotely. > > -- > You received this message because you are subscribed to the Google Gro

Re: Anyone used RENDER product for hosting?

2019-10-08 Thread Devender Kumar
Digital ocean On Tue 8 Oct, 2019, 3:02 PM ram.mullapudi, wrote: > > Hello, > > I'm looking for cheaper, secure and reliable way to host my website? The > site is being developed on DJango FWK. We are currently on GCP and also > reviewed other popular vendors too. I recently came to know about

Re:

2019-07-24 Thread Devender Kumar
Read django allauth lib. On Wed 24 Jul, 2019, 4:01 PM avi gehlot, wrote: > You can contact me .. > > On Wed, 24 Jul 2019 at 3:57 PM, Soumen Khatua > wrote: > >> Hi Folks, >> I want to create one signup page where end-user can SignUp and LogIn by >> using their e-mail id nit by Username. Please

Re: Help : Advance ORM queries

2019-06-17 Thread Devender Kumar
Need help in writing ORM query for this type of result On Tuesday, June 18, 2019 at 10:54:30 AM UTC+5:30, Devender Kumar wrote: > > Hi, > I have 3 models which are related like this. > Accounts can have multiple contact > and one contact can have multiple comments > one conta

Help : Advance ORM queries

2019-06-17 Thread Devender Kumar
Hi, I have 3 models which are related like this. Accounts can have multiple contact and one contact can have multiple comments one contact can be assigned to at most one account. [image: CRM Relation.png] Result should look like as described in above photo Thank you Dev

Re: Orm Query for this type of situation

2019-06-07 Thread Devender Kumar
account.contact list which are realted by contact phone no with and calls phone no can any one help writing this query On Thu, Jun 6, 2019 at 7:47 PM Devender Kumar wrote: > Account /Lead Model > account_name > contact m2m realtion > > contact Model > name >

Re: Annotations as models fields

2019-06-07 Thread Devender Kumar
Hi, You can use Django annotation feature which will add a field to your queryset objects and that field can behve like any real field On Thu, Jun 6, 2019 at 8:22 PM Chetan Ganji wrote: > Yes Olivier, You are right :P > > If I understand the problem correctly this time, you want the field > ava

Re: Orm Query for this type of situation

2019-06-06 Thread Devender Kumar
On Thu, Jun 6, 2019 at 4:49 PM Chetan Ganji wrote: > Right now its an open ended question. > > If you post code for your models here, someone can help you. > > On Thu, Jun 6, 2019, 4:38 PM Devender Kumar wrote: > >> Hi, >> I am working on CRM project

Re: How to migrate MySQL -> PostgreSQL?

2019-06-06 Thread Devender Kumar
Simple scripts : Dump data python manage.py dumpdata # this will whole database to single json python manage.py loaddata filename # this will populate the database with that json again On Tuesday, June 4, 2019 at 12:50:59 AM UTC+5:30, Victor Porton wrote: > > How to migrate a production datab

Orm Query for this type of situation

2019-06-06 Thread Devender Kumar
Hi, I am working on CRM project and stuck with REPORTING part. I have Accounts , Lead , contact, Calls ,Concern modules account/Lead can have multiple contacts contacts have multiple calls and concerns calls have different status like Incoming outgoing missed call etc Question I need to create

Re: How to migrate MySQL -> PostgreSQL?

2019-06-05 Thread Devender Kumar
Hi, *It's very complicated with not much explanation in question.* Its depend on where you want to do this process Development or Production. If it is development then and not holding a very large amount of data. then its not very complicated dump JSON > change database engine > load JSON. If its

Re: Help on architecture of User layout configuration system

2019-05-13 Thread Devender Kumar
why I was looking for more efficient way (as I know this solution already ignore the fact that storing the json of record values too) as it might decrease the efficiency of the system. On Monday, May 13, 2019 at 3:58:47 PM UTC+5:30, Devender Kumar wrote: > > Hi, > I want to make a web ap

Re: How to generate UserID and password for users upon registration?

2019-05-13 Thread Devender Kumar
make use of user manager which can genreate userid and password and create user with this userid and password + **extra fields On Thursday, May 9, 2019 at 6:09:33 PM UTC+5:30, MUHAMMAD AFZAL wrote: > > Hello Django People, > > I'm building an app in which I need to generate UserID and passwords f

Re: Database setup

2019-05-13 Thread Devender Kumar
You need to make model for that where managed = false in class meta of the model. even you can generate complete table model from the db. On Friday, May 10, 2019 at 8:29:40 PM UTC+5:30, Soumen Khatua wrote: > > Hi Folks, > > I have one existing table in my database then how I can use the same ta

Re: Email Django app.

2019-05-13 Thread Devender Kumar
Till now I only know about one thing is that is sending emails not about how you will be going to read them but I have suggestion for this also. For sending email you need to configure smtp/email in your settings file like so EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_U

Help on architecture of User layout configuration system

2019-05-13 Thread Devender Kumar
Hi, I want to make a web app in which user has rights to configure his layout.Means each user can configure his layout according to his choice and work Like how many fields can his form have how many field he want to see in table view of individual record view . configure theme color of his own

Re: Work from home opportunites

2019-02-23 Thread Devender Kumar
DM me -- 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 group, send email to django-users@googlegroups.

Django connectivity with MySQL service in docker container

2019-02-23 Thread Devender Kumar
I am not able to connect my web service with MySQL db service running in docker container both of the services are in docker container. Can any one share config or some notes on this topic I am using gunicron server nginx for reverse proxy MySQL for database. And also changes to be made django s

Re: To learn proper project based Django .

2019-01-15 Thread Devender Kumar
Hi, I have different set of mind set there are lot of different type of projects out there. First think what you wanna build then take out small part of that project get some UI* and start coding it don't think about as a whole just a part. Make some similar parts and collect or join them together

Re: Django deployment on production gives error SuspiciousFileOperation

2018-12-19 Thread Devender Kumar
Use collectstatic command On Wed 19 Dec, 2018, 12:11 PM mohit basantani Hello pradeep > > I found the my mistake I was giving the hard coded path of the static > root which is wrong I have attached my settings.py file above now it's > working fine ...Thanks for your concern really appreciated! >

Re: Who use django-allauth!

2018-12-04 Thread Devender Kumar
You are already login(session authentication) try to visit account/logout first and then try to re login again then you might beable to reach login On Tue 4 Dec, 2018, 6:02 PM Anirudh Jain Where do you want to redirect them? Where exactly is the problem? > > On Tue, 4 Dec 2018, 17:53 >> I can't

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: How do I store details securely with django?

2018-11-12 Thread Devender Kumar
Hi Study about LDAP protocol Regards Dev On Tue 13 Nov, 2018, 4:06 AM PASCUAL Eric Hi Lance, > > > Well, I was off topic. Sorry for this :/ I understand your need better > now. > > > There are chances you've already thought to this option, but what about > storing the sensitive data encrypted wit

Re: Refer tutorials to make multitenant application with shared database with multiple schma

2018-10-09 Thread Devender Kumar
Thank you all for putting some light on these. Regard Dev On Wed 3 Oct, 2018, 12:59 AM heriberto ochoa, wrote: > I have try this library: > https://django-tenant-schemas.readthedocs.io/en/latest/ > > and with db postgres > > El miércoles, 19 de septiembre de 2018, 1:09:20

Re: same card can belong to multiple users but only in different time periods

2018-10-09 Thread Devender Kumar
Hi, I think finding solution to this can consume time. Simply make a function which will change the user reference of the card over a given period of time. Regards Dev On Mon 8 Oct, 2018, 10:47 PM Derek, wrote: > Apart from setting up a unique key (user, card, start, end), you may also > want

Re: beginner guide

2018-10-09 Thread Devender Kumar
Hi, Best way to learn django is to start coding it and keep referencing it with django docs. Or find a mentor work/help with him on some project and keep learning he can guide you too. Find some code on GitHub and read it once carefully. I am also looking for junior to help me with my work and i

Re: How to add form field dynamically?

2018-10-01 Thread Devender Kumar
Hi, I have been to this type of problem. There two solutions to this You have to made this using java script for front end and for database or backend. For front end make a counter which will create a form fileds with name="columnname$countet" sir that the post request you can fetch all the detail

Starting a New Project somewhat like multitenant saas appication.

2018-09-25 Thread Devender Kumar
Hello, I am Dev just two step ahead of a beginner(recently started to code in Django). I want to develop an application seeking for some thoughts(help/ favors/ etc) from you guys. The application fundamental is like Hierarchy is like At top soft engg. team (me) > partners> client> location> devi

Re: Refer tutorials to make multitenant application with shared database with multiple schma

2018-09-19 Thread Devender Kumar
All this should be done using the MySQL database. On Wednesday, September 19, 2018 at 12:39:20 PM UTC+5:30, Devender Kumar wrote: > > Hi, > I need a help from you I wanna start a project which is a multitenant > application and I want the tenant can register themselves and schema i

Refer tutorials to make multitenant application with shared database with multiple schma

2018-09-19 Thread Devender Kumar
Hi, I need a help from you I wanna start a project which is a multitenant application and I want the tenant can register themselves and schema is created for him from the shared database across tenants. I want to make this application in Django I know all the terminology of how multitenancy can

Re: How to save multiple model form in one template?

2018-09-11 Thread Devender Kumar
Hi, I made it more simple and I implemented this also This is a solution is a little different from other solution you have three model form, one view which is rendering all the form. If this is the case or somewhat similar then. simply give *name *attribute to each submit button like: ** and in th

Re: Hi

2018-09-04 Thread Devender Kumar
There are few things to keep in mind while playing with images 1. media url in setting file 2. upload_to field in model 3 enctype="multipart/form-data" in form tag. Enjoy Dev On Mon, Sep 3, 2018 at 10:44 PM Mohammad Aqib wrote: > Add below line into your model. > > image = models.ImageField(upl

Re: How can i modify the base_site.html Template?

2018-09-04 Thread Devender Kumar
Don't modify the base_site.html instead you should override the method or fuctions which will be good practice On Tue, Sep 4, 2018 at 11:50 AM victor jack wrote: > *Ok i see, you create an admin folder in your template folder then create > a base_site.html and an index. html file , these file wi

Re: Trouble installing Django

2018-09-04 Thread Devender Kumar
If you wanna install across the system then just Use *root user *Or* sudo **pip install **Django* . this is install the django in your system. but Best practices is to use special env If you need any help installing django with env reply me i will help in that. Thanks enjoy Dev On Mon, Sep 3, 2018

Problem: django url Admin/ is autmatically coverted to admin/

2018-08-25 Thread Devender Kumar
i have separate Admin app and using admin also but when I am accessing Admin/trips is accessed and Admin is not accessed -- 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 e