Creating Django models dynamically

2019-12-29 Thread Meet Vasani
Is there any way to create model for the database using form input from the end user ? Scenario: There is authority for the particular company. Authority wants to create HTML form schema according to company which he's affiliated with. There are many Authorities with diffrent companies they're

Re: angular setup for django (routes not working)

2019-12-29 Thread nitish kumar
we have a web app which is hosted in apache mod_wsgi. I am trying to update some of the app functionality/UI with angular 8. everything works of but angular routes are not working , which is important for single-page app On Friday, 27 December 2019 20:50:42 UTC+5:30, lemme smash wrote: > > y

Re: Creating Django models dynamically

2019-12-29 Thread Integr@te System
Hi, Look at Django CMS features as it is in your purpose. On Sun, Dec 29, 2019, 20:35 Meet Vasani wrote: > Is there any way to create model for the database using form input from > the end user ? > > Scenario: There is authority for the particular company. Authority wants > to create HTML form

Re: How to read Objects from ManyToMany Relation class in django

2019-12-29 Thread Integr@te System
Hi, Check url.py with typo error at closed parenthesic. On Sun, Dec 29, 2019, 20:35 manas srivastava wrote: > > > > I have made a class called friend where i want to connect users as > followers. Here From this class i am unable to read the users those are > following another user. For Eg if 'a

Re: Password protection of url in gunicorn like .htaccess

2019-12-29 Thread Roshan Shah
Anyone has any clue on this? On Fri, Dec 27, 2019 at 3:11 PM Roshan Shah wrote: > Hi there, > > I have a django site hosted on heroku. I want to restrict production site > and staging sites running gunicorn to outside general public. > > Do we have anything like .htaccess password protection in

How to capture video by using ultrasonic sensor in raspberry pi 3

2019-12-29 Thread Shashi Roshan
Plzz hlp me On Sun, 29 Dec 2019, 21:40 Roshan Shah, wrote: > Anyone has any clue on this? > > On Fri, Dec 27, 2019 at 3:11 PM Roshan Shah > wrote: > >> Hi there, >> >> I have a django site hosted on heroku. I want to restrict production site >> and staging sites running gunicorn to outside gene

Re: Best config and extension for visual studio code

2019-12-29 Thread Integr@te System
Hi The best men, Go to the best ide you fit, look for the packages you like. Choose the best time with the best solution for the best customer. Eventually the most value you get. Not all in one. Not best all time. On Sat, Dec 28, 2019, 23:32 Mahmoud Abbas wrote: > Hello > U just need install p

How to ensure genuine emails despite valid email format?

2019-12-29 Thread Roshan Shah
There is a problem when a person enters valid email format but it is either a) An invalid email which bounces b) A valid email but using one of disposable email which means it is a fake profile c) Emails from domains that are marked as spam d) Emails from IP addresses that are marked as spam How d

access control module

2019-12-29 Thread oliseh obiajuru
i am looking to create a custom access control for the front end of my django web site, where by if you are categories as a certain user (lets say editor) you should have a different navigation menu items from those of a (writer). please i need help. -- You received this message because you ar

I need guide in Django web development

2019-12-29 Thread suneel singh
How to start Django web development , I am biggner in Django development so how to start and what is good reference for 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 a

Re: I need guide in Django web development

2019-12-29 Thread Frank Cipolone
The Django documentation has a great tutorial for beginners. This project will teach you the basics. https://docs.djangoproject.com/en/3.0/intro/tutorial01/ After completing that tutorial try this one: https://realpython.com/courses/django-portfolio-project/ Then once you feel confident look u

Re: I need guide in Django web development

2019-12-29 Thread Gerardo Palazuelos Guerrero
Hi, I highly suggest you Williams’s books. https://wsvincent.com/ The green one (beginners) is my best friend. --- Gerardo Palazuelos Enviado desde mi iPhone > El 29 dic 2019, a la(s) 11:11, suneel singh escribió: > > How to start Django web development , I am biggner in Django development s

Re: access control module

2019-12-29 Thread Integr@te System
Hi, Think of seperating on permissions, each of them query out specific details in views.py. Hope it helpful. On Mon, Dec 30, 2019, 00:52 oliseh obiajuru wrote: > i am looking to create a custom access control for the front end of my > django web site, where by if you are categories as a certa

link multiple files to model

2019-12-29 Thread Bart Jonkers
Hi, I have a question about one-to-many relations in models What is best to use? ForeignKey of many to ManyToManyField? I want to attach files to a model. The *ForeignKey* is easy to use. class Feed(models.Model): user=models.ForeignKey(User, on_delete=models.CASCADE, related_name='feeds'

Re: Exception happened during processing of request from ...

2019-12-29 Thread Alfredo Silveira
This is happen to me with django 3 and python 3.7, I just need to update python to version 3.8 and works well Em quinta-feira, 31 de janeiro de 2019 13:52:38 UTC-2, Jon bae escreveu: > > Hello, > I'm running here *django 2.1.5* with *python 3.7.2* (installed with > homebrew) on a macOS (mojave).

OpenID Django

2019-12-29 Thread Malik Brahimi
I'm trying to use SSO in my application provided by Ping Identity and from what I could tell they support both OAuth and ODIC if specified in the scope. While I haven't found a specific client library for Ping Indentity, I did find packages like python-social-auth and django-allauth which inc

Re: How to get Latitude and Longitude of a user

2019-12-29 Thread Dominick Del Ponte
Don't know if it is ideal, but, assuming you have a form on the page you could use the geolocation API and put the values in hidden form fields to send to your DB. Dominick delponte.d...@gmail.com On Sat, Dec 28, 2019 at 6:02 A

Prefetching returning empty values for some object

2019-12-29 Thread Mohit Solanki
Assume these two models. class Folder(model): name = models.CharField(max_length=8) files = models.ManyToManyField('File') class File: path = models.CharField(max_length=255) First I was fetching the folders and while looping over them fetching the files with a distinct path folders