Re: Phone number field in form/ model

2016-12-15 Thread Deep Shah
I have not tried this out but you can check this- https://github.com/stefanfoulis/django-phonenumber-field/ On Thursday, December 15, 2016 at 1:07:02 AM UTC+5:30, Lloyd Dube wrote: > > Hi, > > Has anyone captured phone number information using a Form/ModelForm > instance? I have the field as

Re: Django Project Structure

2016-10-27 Thread Deep Shah
I have read this, but still confused. What would be the best practices for this? On Wednesday, October 26, 2016 at 12:05:19 PM UTC+5:30, Deep Shah wrote: > > I have a django project which is a loyalty program for restaurants. The > different database tables are- Users (and extendin

Django Project Structure

2016-10-25 Thread Deep Shah
I have a django project which is a loyalty program for restaurants. The different database tables are- Users (and extending it with User Profiles), Restaurant Company (the entire chain), Branches, Offers, Points (points which users get on visiting a particular restaurant) etc. How do I structur

Re: Methods in Models

2016-10-25 Thread Deep Shah
This makes sense! Thanks! On Monday, October 24, 2016 at 1:17:26 PM UTC+5:30, Deep Shah wrote: > > What kind of methods should be part of the models and what should be in > the views? Can anyone give me an example of a method which should be in a > Model than the views file? > -

Methods in Models

2016-10-24 Thread Deep Shah
What kind of methods should be part of the models and what should be in the views? Can anyone give me an example of a method which should be in a Model than the views file? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from th

Django project structure

2016-10-24 Thread Deep Shah
I have a django project which is a loyalty program for restaurants. The different database tables are- Users (and extending it with User Profiles), Restaurant Company (the entire chain), Branches, Offers, Points (points which users get on visiting a particular restaurant) etc. How do I structur

Re: Non relational databases (MongoDB) with Django

2016-08-17 Thread Deep Shah
or that, use them as is. Way simpler than > trying to force ORM (which stands for object relational mapper) to follow > something non relational. > Also, if you're not stuck at mongodb, you may find arangodb much more > appealing and doing most things "right". > >

Non relational databases (MongoDB) with Django

2016-08-17 Thread Deep Shah
I want to use MongoDB with Django. Which are the advisable, latest and stable engines? I found https://github.com/django-nonrel/mongodb-engine which requires the non relational version of Django (https://github.com/django-nonrel/django/). But they have not updated the code since Django 1.6. --

Authentication for mobile apps

2016-04-22 Thread Deep Shah
I am new to Django. I want to know how does authentication work for mobile apps. How do I keep the user logged in? Is there any in-built way in Django to manage tokens or something similar for mobile apps? -- You received this message because you are subscribed to the Google Groups "Django use

Authentication for mobile devices

2016-04-22 Thread Deep Shah
I am new to Django. I want to know how will authentication work on mobile apps. How do I keep the user logged in on my mobile apps and not make them login every time? Is there any in-built method to save a token or something? -- You received this message because you are subscribed to the Google