Re: Make mobile app from webapp

2019-01-07 Thread Brad Pitcher
The basic formula we've used in the past: 1. Decouple back- and front-end using API 2. Use django-bakery (https://django-bakery.readthedocs.io/en/latest/) to export the needed pages to HTML (requires the use of class-based views, which are actually really awesome) 3. Use Phonegap to wrap these

Re: Creation of database in real time and loading it in the DATABASES variable of Django;

2019-01-07 Thread zekri sidi mohamed hicham
you must search about django chennels, i don't have good experiences with django channels but i think it's may help you. good chance. SIDI MOHAMED HICHAM Zekri student. Le lun. 7 janv. 2019 à 19:48, Sanderson Carmona a écrit : > Good afternoon, > > I'm using the latest version of Django (2.x)

Creation of database in real time and loading it in the DATABASES variable of Django;

2019-01-07 Thread Sanderson Carmona
Good afternoon, I'm using the latest version of Django (2.x) and I'm having a rather complicated task because of the lack of experience I have with the Framework. To do: I need to use 1 bank as default and others created in real time for the contract client in the company. Example: You

Re: Make mobile app from webapp

2019-01-07 Thread maunish dave
Ya i have little experience of creating API using django rest framework On Mon 7 Jan, 2019, 11:42 PM Nebojsa Hajdukovic, wrote: > You need to create rest api from that app, and then to use in ionic, > flutter etc. > > Do you have experience with django rest framework? > > pon, 07. jan 2019.

Re: Make mobile app from webapp

2019-01-07 Thread Nebojsa Hajdukovic
You need to create rest api from that app, and then to use in ionic, flutter etc. Do you have experience with django rest framework? pon, 07. jan 2019. 19:10 maunish dave je napisao/la: > Hi i have a website built with django and now i want to make a mobile app > for it how to do it any

Make mobile app from webapp

2019-01-07 Thread maunish dave
Hi i have a website built with django and now i want to make a mobile app for it how to do it any suggestions? -- 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

Re: simple boy start learn python

2019-01-07 Thread Mario R. Osorio
Sorry, I forgot to include the link for the book: https://www.obeythetestinggoat.com/ Dtb/Gby === Mario R. Osorio B.A.S. of Information Technology A.S. of Computer Programming and Analysis Web page: *http;//mario.osorio.solutions * Email:

django middleware return response and prevent calling main function

2019-01-07 Thread Samuel Muiruri
I want to use a form of cache using django middleware/context-processors. I do know it's simpler to just add the decorator at the top of the function but for reasons I have to do it this way. Using this as my example of my function def cache_results(request): response = {}

Re: simple boy start learn python

2019-01-07 Thread Mario R. Osorio
These are some of the best resources I've ever found on the subject: - - Obey the Testing Goat! (You can buy they book or read it online for free) - TaskBuster Django Tutorial (might be a bit outdated but I'd still go thru it)

Re: default groups and permissions

2019-01-07 Thread Nebojsa Hajdukovic
you can do it from views.py inside signup function if Försäljningschef then if exist() sign there, if not create that group. I will be at home in few hours so can write one full example if you can't make it until then. нед, 6. јан 2019. у 18:55 Robin Riis је написао/ла: > i have a custom user

Re: Error 403 (Csfr token not valid)

2019-01-07 Thread Nebojsa Hajdukovic
did you call {% csrf_token %} in your template html file? нед, 6. јан 2019. у 18:55 Pasquale је написао/ла: > I have the following files: > > #views.py > from django.views.generic.edit import FormView > from django.views.generic.base import TemplateView > from braces.views import

Re: ms sql server connectivity to django

2019-01-07 Thread Ivan Martić
Hi mate, I had the same issue with MS SQL. This worked for me: DATABASES = { 'default': { 'ENGINE': 'sql_server.pyodbc', 'HOST': 'xxx', 'PORT': '1433', 'USER': 'xxx', 'PASSWORD': 'xxx', 'NAME': 'xx',#table name 'CONN_MAX_AGE': 0,

Re: ms sql server connectivity to django

2019-01-07 Thread Ivan Martić
Hi Mate, I had the same issues with connecting to MS SQL. This is the configuration which worked for me... DATABASES = { 'default': { 'ENGINE': 'sql_server.pyodbc', 'HOST': 'XXX', 'PORT': '1433', 'USER': 'XXX', 'PASSWORD': 'XXX', 'NAME':

Re: Login with email or phone not username

2019-01-07 Thread Manas Nikam
Add AccountKit integration https://www.accountkit.com/ into into app and add the authentication backend for the same On Sunday, January 6, 2019 at 7:37:50 AM UTC+5:30, Achyut Pandey wrote: > > > Hello guys i want to allow user to register and login with their email or > phone number instead of

RE: ms sql server connectivity to django

2019-01-07 Thread pahlawanto.pancawindu
Make sure the port MSSQL is open. From: django-users@googlegroups.com On Behalf Of BALA KRISHNAN Sent: 07 January 2019 13:34 To: django-users@googlegroups.com Subject: Re: ms sql server connectivity to django Create your database in MySQL Migrate your files On Sun, 6 Jan 2019 at

Re: ms sql server connectivity to django

2019-01-07 Thread Jani Tiainen
Hi, What happens? Do you get errors? Nothing? On Sun, Jan 6, 2019 at 7:56 PM Praveen Kumar wrote: > Hi All, > > Changed DATABASE code as under in setting.py in Django project. But not > getting able to connect to MS SQL Server. Please suggest. > > ATABASES = { > 'default': { >