Hi Gil,
please see
views.cregister
def cregister(request):
next = request.GET.get('next')
form = CUserRegisterForm(request.POST or None)
if form.is_valid():
user = form.save(commit=False)
password1 = form.cleaned_data.get('password1')
password1 =
Hey,
Try by giving forward slashes(/) at the end of the each urls instead of
using backward slashes like...
Do as -
register/
login/customer/
I think It will work
On Tue, 27 Aug, 2019, 3:16 AM James Schneider,
wrote:
>
>
>
>> Using the URLconf defined in bnt.urls, Django tried these URL
admin/ urls are working fine?
if you put print('hello0) at first line inside cregister, you see at the
console?
If yes the problem is in redirects
Missatge de Kean del dia dl., 26 d’ag. 2019 a les 19:32:
> Hi Gil,
>
> please see
>
> views.cregister
>
> def cregister(request):
> next =
Kean,
Have you tried removing the initial slash inside the path?
--
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
Hi!
Can you paste views.cregister
and projectname/urls.py ?
Missatge de Kean del dia dl., 26 d’ag. 2019 a les 19:10:
> Hi,
>
> I'm new to Django. I created several urls, in urls.py, however, when I try
> to navigate to the URL it says page not found.
> Page not found (404)
> Request Method:
You can use PayPal on digitalocean.
On 25 Aug 2019, 11:11 +0300, Nur Mohsin , wrote:
> Assalamu Alaikum Yusuf Bhaia,
>
> As I have no credit card, that's why I couldn't choose AWS or DO. I am from
> Bangladesh and suffering to choose a hosting provider in Bangladesh where
> Django and Postgresql
Upon submission of an invalid authentication after displaying the error
that my login credentials were incorrect, whenever I refresh the page it
keeps generating a re-submission of forms alert. I have inherited the
standard 'contrib.auth' LoginView. Any help would be appreciated. I am new
to
> Using the URLconf defined in bnt.urls, Django tried these URL patterns,
> in this order:
>
>1. admin/
>2. [name='home']
>3. /login [name='clogin']
>4. /login/customer [name='cpage']
>5. /register [name='cregister']
>6. /register/customer [name='cpage']
>
> The current
Tried this with print request,
However it didn’t improve the issue.
It can’t be a redirect issue, as it’s not even finding the first instance
of the url which is GET action. The redirect is only actionable after on
page actions I.e. user register Name, email etc.
Are their any other root causes
Anyone have real-time pluggable chat system app in django.
--
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 view
I want to use each database in each application.
I tried using different settings.py for each application, but it didn't
work.
Can you give me some advice?
Thank you.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this
Hi,
OK - If you only want to create an autocomplete list - or a dropdown list
with information django restframework could be a bit of an overkill for
that specific task - you could instead use something like this:
https://django-autocomplete-light.readthedocs.io/en/master/tutorial.html
That's a
https://docs.djangoproject.com/en/2.2/ref/settings/#databases
DATABASES in settings.py is a dict() and use database_routers.
Good luck
On Mon, Aug 26, 2019 at 12:47 PM Ayu Nakata
wrote:
> I want to use each database in each application.
> I tried using different settings.py for each
Are trying to save data for Customer that does not exist in your
CustomerData table yet. Because I think the error is tries to inform you
that Billing data can only be created for a customer that already exists on
you CustomerData
On Sunday, August 25, 2019 at 5:17:24 PM UTC+3, Asaduzzaman
On production, static files shouldn't be the burden of django server. Many
people are using Nginx to handle static file. This is the guide:
https://docs.djangoproject.com/en/2.2/howto/static-files/deployment/
On Mon, Aug 26, 2019 at 11:13 PM janderson abreu wrote:
> Good afternoon, I'm having
Hi,
I'm new to Django. I created several urls, in urls.py, however, when I try
to navigate to the URL it says page not found.
Page not found (404)
Request Method: GET
Request URL: http://127.0.0.1:8000/register
Using the URLconf defined in bnt.urls, Django tried these URL patterns, in
this
Hi everyone
Can anybody suggest me
how to add different graphs in django admin panel for relational models. I
will apply count, group by clsuse query to display count.
One more questions. We can change default django Administration GUI using
django admin suit. How is it. Is there any other way
17 matches
Mail list logo