Re: PROBLEM 2

2018-12-03 Thread Lachlan Musicman
> > On Tue, 4 Dec 2018 at 11:31, David Figueroa > wrote: > >> in the process of creating my first views I am having this problem when I >> will check if everything is working well on the page >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users"

Re: PROBLEM 2

2018-12-03 Thread Lachlan Musicman
Remove the .com from the URL On Tue, 4 Dec 2018 at 11:31, David Figueroa wrote: > in the process of creating my first views I am having this problem when I > will check if everything is working well on the page > > -- > You received this message because you are subscribed to the Google Groups >

PROBLEM 2

2018-12-03 Thread David Figueroa
in the process of creating my first views I am having this problem when I will check if everything is working well on the page -- 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,

Re: Problmes

2018-12-03 Thread David Figueroa
thank Em segunda-feira, 3 de dezembro de 2018 10:04:38 UTC-3, Simon Charette escreveu: > > Hello David, > > The current latest version of the Django 1.11 serie doesn't support Python > 3.7[0] but > 1.11.17, which is still unreleased[1], should per popular demand[2]. > > Until 1.11.17 is

RE: Best way to structure this Django project

2018-12-03 Thread Pankaj Kumar
Thats a valid workflow in my opinion. Many Django works take that approach. But alternatively, if you want you can pass the product info as parameters in the Payment app while redirecting and can have a model in the Payment app to capture and integrate product and payment parameters together.

Re: Django bugfix releases 1.11.17 and 2.1.4.

2018-12-03 Thread Ing.Daniel Bojorge
Thanks. Dios L@s Bendiga Saludos, [image: --] daniel.bojorge [image: http://]about.me/daniel.bojorge *Curso Desarrollo Web con Python usando Django 2.1 Para Principiantes* *Fácil Replicación de Cualquier Base de Datos

Django bugfix releases 1.11.17 and 2.1.4.

2018-12-03 Thread Carlton Gibson
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2018/dec/03/bugfix-releases/ -- 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

How to set "loading" on button without using JS

2018-12-03 Thread Fellipe Henrique
Hello, I`m using the default processo to get data from user CreateView -> Form -> Template Using AngularJS I can set a "spining" to a Submit button.. but.. how can I set these without using AngularJS.. using the "normal process" Thanks! T.·.F.·.A.·. S+F *Fellipe Henrique P. Soares*

RE: Best way to structure this Django project

2018-12-03 Thread Matthew Pava
I don't think there's a way around it, but that's okay. I have dependencies between several apps in my project, and the apps help organize the project. If you don't want to necessarily hard-code the app model, you could pass in the model as an argument and use apps.get_model(app_name,

Replicación de Bases de Datos (cualquier BD y/o Sistema Operativo)

2018-12-03 Thread Ing.Daniel Bojorge
https://goo.gl/HjtExs En este curso aprenderás a realizar replicación desde cualquier base de datos hacia cualquier base de datos sin importar el sistema operativo. Elaboraremos una solución que replique data entre diferentes tipos de bases de datos y sistema operativo. Veremos #PostgreSQL (en

Re: Remove user permission

2018-12-03 Thread Saurabh Agrawal
"user.user_permissions.remove" expects a permission object. Or the pk of that object. Hence, the TypeError. On Mon, Dec 3, 2018 at 9:02 PM Gaurav Tomer wrote: > I was trying to remove permission of a user using remove utility as below - > > user = User.objects.get(id=user_id) >

Remove user permission

2018-12-03 Thread Gaurav Tomer
I was trying to remove permission of a user using remove utility as below - user = User.objects.get(id=user_id) user.user_permissions.remove("delete_polls") Then it raises TypeError:invalid literal for int with base 10: 'delete_polls' Do I need to pass index here? As it sounds kind of static

Re: forms.FORM in django

2018-12-03 Thread Mohamed Hashi
You are seeing this page because DEBUG=True is in your settings file and you have not configured any URLs i wrote the codes but isnt appearing on web page 12.0.0.1 any idea or help thanks . -- You r To post to this group, send email to django-users@googlegroups.com. Visit this group at

Re: Problmes

2018-12-03 Thread Simon Charette
Hello David, The current latest version of the Django 1.11 serie doesn't support Python 3.7[0] but 1.11.17, which is still unreleased[1], should per popular demand[2]. Until 1.11.17 is released I'd advise you either stick to Python 3.6 or upgrade to Django 2.0+. Cheers, Simon [0]

Problmes

2018-12-03 Thread David Figueroa
The following error message appears when I try to run the following code in cmd. (I use Djanjo version 1.11 and paython 3.7) *C:\Users\david\PAYTHON\SAIT1>py manage.py runserver* *Unhandled exception in thread started by .wrapper at 0x03A46468>* *Traceback (most

Problem matching paths deploying with WSGI on Ubuntu mounted not at root

2018-12-03 Thread Dave Briccetti
I’m moving an app from Heroku to an Ubuntu server on AWS. I’m having trouble with matching URL paths when mounting via WSGI to not the root of the domain. Everything works fine under development on the Mac. I’ll gladly pay somebody to videoconference with me and get this sorted. Or, perhaps

Re: path('posts/(?P[0-9]+)/$'

2018-12-03 Thread ehrenfeld1946
They both worked. Thank you! On Sunday, December 2, 2018 at 6:04:04 PM UTC-8, Lachlan Musicman wrote: > > > > On Mon, 3 Dec 2018 at 11:51, > wrote: > >> >> >> On Sunday, December 2, 2018 at 10:00:17 AM UTC-8, Jani Tiainen wrote: >>> >>> Hi. >>> >>> Path is a new url format which uses format

Re: path('posts/(?P[0-9]+)/$'

2018-12-03 Thread Jani Tiainen
path('posts//$') should work as well. kirjoitti ma 3. jouluk. 2018 klo 2.51: > I am new to django so I am not sure I understand what you are saying. Can > you give me a rewrite of the correct syntax of the line that is not correct? > > Thank you > > On Sunday, December 2, 2018 at 10:00:17 AM

admin page not found!!

2018-12-03 Thread Saeed Pooladzadeh
Hello Here comes my url page code from django.contrib import admin from django.urls import path urlpatterns = [ path('admin/', admin.site.urls), #url(r'^polls/', include('polls.urls')), ] When I run the the code and want to go to admin page I see this message: Page not found!