django-river is only for admin ?

2018-10-02 Thread django_learner
The workflow package of Django django-river is only for admin or we can interface it with our own template -- 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 djang

Re: Running a single version of my Django app but with two databases: one for dev and one for prod

2018-10-02 Thread Jason
to be honest, this seems like much more effort than its worth. -- 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

Re: Handling multiple timezones in Django Admin

2018-10-02 Thread Ramiro Morales
Paul, You seem to have a good grasp of the usability problem you describe and a sound strategy to solve it. You've even researched how modern web browser can help in improving this admin app feature. I'm sure the project would accept a pull request implementing the changes you outline. Or if not,

Handling multiple timezones in Django Admin

2018-10-02 Thread Paul Tiplady
Timezone handling in the Django admin is quite confusing when there are users in multiple timezones -- does anyone have a good way of handling this? I'm using USE_TZ=True, TIME_ZONE='UTC', USE_I18N, USE_L10N. I have admin users in US/Pacific and US/Eastern. When viewing a datetime field, users

Re: Running a single version of my Django app but with two databases: one for dev and one for prod

2018-10-02 Thread heriberto ochoa
your can use routers, or the directive DATABASE in separate files development and production with respective configuration El lunes, 24 de septiembre de 2018, 16:18:46 (UTC-6), jim_rain escribió: > > Hi, > > I'm developing a Django app, it's hosted on an EC2 instance so I'm using > wsgi, even i

Re: Geodjango Error

2018-10-02 Thread heriberto ochoa
In the path of Anaconda3 where stay python, or in el path default in case of use the traditional installation of python El martes, 2 de octubre de 2018, 13:53:41 (UTC-6), VAIBHAV GUPTA escribió: > > It is installed automatically at that location. I didn't specified any > location. > So accordin

Re: Extending contrib.sites.get_current_site logic

2018-10-02 Thread Aubrey Falconer
Jason, thanks for your response. An AUTH_USER_MODEL type extension mechanism is what was looking for. It's useful to know that nothing like this exists out of the box, and that forking either third-party libraries or Django itself is the clear path forward. On Monday, October 1, 2018 at 5:31

Re: Geodjango Error

2018-10-02 Thread VAIBHAV GUPTA
It is installed automatically at that location. I didn't specified any location. So according to you, where should I install this GDAL? On Wed, Oct 3, 2018 at 12:48 AM heriberto ochoa wrote: > The problem can be with Anaconda3, you installed GDAL in the path of > Anaconda3 or in the path de oth

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

2018-10-02 Thread heriberto ochoa
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 (UTC-6), Devender Kumar escribió: > > Hi, > I need a help from you I wanna start a project which is a multitenant > application and I want the te

Re: Single Django App using Multiple Databases

2018-10-02 Thread heriberto ochoa
https://django-tenant-schemas.readthedocs.io/en/latest/ El martes, 2 de octubre de 2018, 6:53:16 (UTC-6), Glen D souza escribió: > > Hi, > > I am working on a project where i am using a single django app which is > backed by different databases. > > Let me explain the use case clearly, > > I have

Re: Geodjango Error

2018-10-02 Thread heriberto ochoa
The problem can be with Anaconda3, you installed GDAL in the path of Anaconda3 or in the path de other path of python?, the path of GDAL have all .dll file required El martes, 2 de octubre de 2018, 5:26:16 (UTC-6), VAIBHAV GUPTA escribió: > > Yaa I got the error as what you (Michal Petrucha) sta

how to implement django-river with view.py

2018-10-02 Thread django_learner
how to implement django-river with view.py -- 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

Re: User Signup ??

2018-10-02 Thread Fayis Pt
install the django package django-registration-redux==1.7 and add into the settings.py On Tue, Oct 2, 2018 at 4:59 PM Vikas Sri wrote: > Hello !! > I need to get my users signup in my web app. Can't find it in official > documentation. Would be thankful if someone shed a light on it. > > -- >

User Signup ??

2018-10-02 Thread Parag Sharma
Simply create a form insert data in users model and use auth login for login. -- 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...@googlegrou

Re: User Signup ??

2018-10-02 Thread Burak Mavzer
Hey, Here is the official documentation for user authorization and authentication in django: https://docs.djangoproject.com/en/2.1/topics/auth/ But if you're looking for a tutorial, these two links might help: https://tutorial-extensions.djangogirls.org/en/authentication_authorization/ https:

Re: django/mysite/polls tutorial error

2018-10-02 Thread Burak Mavzer
Hello, please check your polls/views.py file and make sure you have defined an index function that should somewhat look like this: from django.http import HttpResponse def index(request): return HttpResponse("Hello.") On Tuesday, October 2, 2018 at 5:10:25 PM UTC+3, ginost7 wrote: > > now i

Re: django/mysite/polls tutorial error

2018-10-02 Thread 'ginost7' via Django users
now i get a different error!!! path('', views.index, name='index'), AttributeError: module 'polls.views' has no attribute 'index' On Tuesday, 2 October 2018 14:24:35 UTC+1, ginost7 wrote: > > Hello > > I am trying the django/mysite/polls tutorial. > > After typing, actually copying and pasting

Re: django/mysite/polls tutorial error

2018-10-02 Thread 'ginost7' via Django users
Hello apparently in polls/urls.py i changed the dot : from django.urls import path from .import views # PLEASE NOTE THERE IS NO SPACE BETWEEN DOT AND IMPORT!!! On Tuesday, 2 October 2018 14:46:52 UTC+1, ginost7 wrote: > > > > On Tuesday, 2 October 2018 14:29:12 UTC+1, Joel wrote: >> >> Well, what

Re: django/mysite/polls tutorial error

2018-10-02 Thread 'ginost7' via Django users
On Tuesday, 2 October 2018 14:29:12 UTC+1, Joel wrote: > > Well, what does /home/gino/djangoDEV/mysite/polls/urls.py contain? > I am just following the first django app tutorial mysite/polls/urls.py contains the following code: from django.urls import path from . import views urlpatterns =

Re: django/mysite/polls tutorial error

2018-10-02 Thread Joel Mathew
Well, what does /home/gino/djangoDEV/mysite/polls/urls.py contain? On Tue, 2 Oct 2018 at 18:55, 'ginost7' via Django users < django-users@googlegroups.com> wrote: > Hello > > I am trying the django/mysite/polls tutorial. > > After typing, actually copying and pasting this: > > from django.cont

django/mysite/polls tutorial error

2018-10-02 Thread 'ginost7' via Django users
Hello I am trying the django/mysite/polls tutorial. After typing, actually copying and pasting this: from django.contrib import adminfrom django.urls import include, path urlpatterns = [ path('polls/', include('polls.urls')), path('admin/', admin.site.urls),] Running this command ( i am

Single Django App using Multiple Databases

2018-10-02 Thread Glen D souza
Hi, I am working on a project where i am using a single django app which is backed by different databases. Let me explain the use case clearly, I have a app say app1, and app1 data is located in two different databases say db1 and db2 data present in the db1 and db2 are different, lets say db1 h

How to integrate django-viewflow without the front end?

2018-10-02 Thread django_learner
How to integrate django-viewflow without the front end? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and sto

Re: User Signup ??

2018-10-02 Thread Aditya Singh
My sincere apologies mate but I try to help out people I can in this official Django chat thread/group only. Hope you understand. Kind Regards, Aditya On Tue, Oct 2, 2018, 5:11 PM Idowu Tunde wrote: > Please let take this great group to WhatsApp please > > On Tuesday, October 2, 2018, Aditya Sin

Re: User Signup ??

2018-10-02 Thread Idowu Tunde
Please let take this great group to WhatsApp please On Tuesday, October 2, 2018, Aditya Singh wrote: > Very good evening mate, > You need to create a form and from one of your views create a new Object > inside django user model using the username and password from the form > fields that you wil

Re: User Signup ??

2018-10-02 Thread Aditya Singh
Very good evening mate, You need to create a form and from one of your views create a new Object inside django user model using the username and password from the form fields that you will use for registering the users. Kind Regards, Aditya On Tue, Oct 2, 2018, 5:00 PM Vikas Sri wrote: > Hello !

User Signup ??

2018-10-02 Thread Vikas Sri
Hello !! I need to get my users signup in my web app. Can't find it in official documentation. Would be thankful if someone shed a light on it. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving em

Re: Geodjango Error

2018-10-02 Thread VAIBHAV GUPTA
Yaa I got the error as what you (Michal Petrucha) stated about that the path of GDAL_LIBRARY_PATH that I had given was of Linux. Now I changed the path (given below) according to the windows OS , still the problem is not resolved. GDAL_LIBRARY_PATH = 'C:\\Users\\gaurav\\Anaconda3\\Lib\\site-pack