How can I refresh admin_urls

2019-02-21 Thread Mike Dewhirst
In a 'Substance' app I have a Stripe payment facility working from within the Admin. The problem is it spoils admin_urls so the user cannot get back to the Substance Admin. When the Stripe work is done, how do I re-initialise the admin urls? I want

Re: Providing help on a website (basic CMS for on-site site documentation)

2019-02-21 Thread Bernd Wechner
Hmmm, no-one has any thoughts here ... and I'm on ma' own reinventing the wheel? Surely tehre's a canonical way to provide help on Django website . I'm leaning toward simple flatpages app with a tinymce editor for them for the admin. On Tuesday, 19 February 2019 16:26:57 UTC+11, Bernd Wechner

JOIN OUR SLACK CHANNEL

2019-02-21 Thread gilwell muhati
Hello Members, Join us on slack @ - https://django-users.slack.com It is easier to collaborate on related issues, view history and find solutions on project or issues already raised. *Regards,Gilwell Muhati | +254 710 739 116 | * *~~“The mind is its own place and in itself can make a heaven

Editing models in the view: Design advice needed

2019-02-21 Thread Denver Sale
Hello, I'm somewhat new to Django/front end web development so I'm wondering what the best way to accomplish this would be. I have a "Rule" model which is made up of a few other models. On the view page, I'd like to list all the Rules with their associated attributes. In each Rule, I'd like

Change in pip install?

2019-02-21 Thread Adrian Klaver
Just upgraded from 1.11.18 --> 1.11.20 and package installed as: # Editable install with no version control (Django==1.11.20) -e /home/aklaver/py_virt/cc_dj111_py3/lib/python3.4/site-packages even though I did: pip install --upgrade Django==1.11.20 Uninstalling Django and doing: pip install

Re:

2019-02-21 Thread Victor H. Velasquez Rizo
Jayesh. It will be more helpful if you can share a view of your models... On Thu, Feb 21, 2019 at 2:10 AM bhushan patil wrote: > I am running the command 'python manage.py makemigrations polls' but it's > showing that django.db.models has no attribute model. > > -- > You received this message

Re:

2019-02-21 Thread Victor H. Velasquez Rizo
Jayesh The class Choice() Indentation is wrong. It has to be at the same column alignement of Question On Thu, Feb 21, 2019 at 12:43 PM bhushan patil wrote: > I am trying to build my first app in django but an error has occurred > starting 'Question is not defined'.can anyone help me with

Re: Django Tutorials: NoReverseMatch at /polls/1/vote/

2019-02-21 Thread Victor H. Velasquez Rizo
Daniel Share your urls.py file On Thu, Feb 21, 2019 at 5:32 AM wrote: > please let me know the particular solution for version 2.1 i m stucked > > On Friday, 21 March 2014 14:31:29 UTC+5:30, Daniel Roseman wrote: >> >> On Thursday, 20 March 2014 23:07:47 UTC, wasingej wrote: >>> >>> I am

url routing correct locally but doesn't work on server

2019-02-21 Thread flora . xiaoyun . huang
Hi everyone. The problem I came across is that the url routing is correct locally but not on the server. The urls.py and views.py are the same locally and on the server. For example after we enter the website link the first page of the website should be directed to *xxx.com/consent_form*,

Re: NEED FOR A SLACK CHANNEL

2019-02-21 Thread Yann Sionneau
Slack is proprietary software, maybe Mattermost can be used instead. For instance there is free instance at framateam.org On 2/21/19 5:23 PM, gilwell muhati wrote: Hello, Can we create a *slack* channel for tutorials, job adverts and system collaboration? *Regards,* -- You received this

how can begin to create my web application

2019-02-21 Thread gaurav jain
Assuming you know the technologies required. This might help. https://gauravjain98.ml/software/2019/01/26/how-i-design-software.html -- 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

Re: Django : use openstreetMap and postgis to add geolalization field to localizate my users in a country

2019-02-21 Thread abdouramane mahamane
Thank you. I fix it, it's working -- 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 email

Re:

2019-02-21 Thread amr aly
Hi, you have indentation error , you must put (class Choice) under (class Question) like this class Question(): class Choice(): so the error says "Question" not defined hope it helps On Thursday, February 21, 2019 at 8:57:51 PM UTC+2, bhushan patil wrote: > > The code for models > > On Fri

Re:

2019-02-21 Thread Clara Daia
Could you show us the code for the models? Em qui, 21 de fev de 2019 às 15:42, bhushan patil escreveu: > I am trying to build my first app in django but an error has occurred > starting 'Question is not defined'.can anyone help me with this. > > -- > You received this message because you are

NEED FOR A SLACK CHANNEL

2019-02-21 Thread gilwell muhati
Hello, Can we create a *slack* channel for tutorials, job adverts and system collaboration? *Regards,Gilwell Muhati | +254 710 739 116 | * *~~“The mind is its own place and in itself can make a heaven of hell, a hell of heaven…”~~John Milton * -- You received this message because you are

Re: how can begin to create my web application

2019-02-21 Thread gilwell muhati
Hello Jacques, Follow this tutorial https://www.youtube.com/watch?v=Fc2O3_2kax8=1=PLw02n0FEB3E3VSHjyYMcFadtQORvl1Ssj , invite your time to understand the https://www.djangoproject.com/ This simplifies it though https://simpleisbetterthancomplex.com/series/beginners-guide/1.11/ All the best.

how can begin to create my web application

2019-02-21 Thread Jacques Batumike
Dear Team Morning i want to know, how can i begin to create my web application Thanks -- 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: Django Tutorials: NoReverseMatch at /polls/1/vote/

2019-02-21 Thread Suresh Kannan
You should read the links https://docs.djangoproject.com/en/2.1/intro/tutorial03/#namespacing-url-names https://stackoverflow.com/questions/14892462/django-error-upolls-is-not-a-registered-namespace https://stackoverflow.com/questions/30935053/noreversematch-at-polls-1-vote Suresh On Thu, 21

Smiley in url triggers 500 error

2019-02-21 Thread Rob
Somebody linked our site with a smiley in the url. The url looks like this: myurl/nummer-333邏/ This results in a 500 error. Because this page does not exist I expected a 404 error. The 500 error shows: (1267, "Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and

Re: Working with pk arguments within an included URL

2019-02-21 Thread Gavin Boyle
Hi Simon. Worked perfectly appreciate all your help, such a weight off my shoulders now. Thanks Gavin On Mon, 18 Feb 2019 at 09:39, Gavin Boyle wrote: > Perfect Simon. I’ll give it a go. > > Appreciate your help. > > Gavin > > On Mon, 18 Feb 2019 at 08:10, Simon A wrote: > >> Hi Gavin, >>

Re:

2019-02-21 Thread amr aly
Hi, You miss capital "M" it's like this class Question(models.Model): the error message is very clear and indicate this error hope it helps On Wednesday, February 20, 2019 at 2:16:58 PM UTC+2, bhushan patil wrote: > > Guys I am not able to run the file manage.py on runserver.Its showing that

Re: Django Tutorials: NoReverseMatch at /polls/1/vote/

2019-02-21 Thread odootesting00
please let me know the particular solution for version 2.1 i m stucked On Friday, 21 March 2014 14:31:29 UTC+5:30, Daniel Roseman wrote: > > On Thursday, 20 March 2014 23:07:47 UTC, wasingej wrote: >> >> I am trying to create the project described by the Django Tutorials. >> However, I have

Re:

2019-02-21 Thread dvij parekh
please put your model code and command your are typing in detail On Wednesday, February 20, 2019 at 5:46:58 PM UTC+5:30, bhushan patil wrote: > > Guys I am not able to run the file manage.py on runserver.Its showing that > no such file or directory.Can anyone help me with this > -- You

No module

2019-02-21 Thread 'Amitesh Sahay' via Django users
You have probably forgotten to make the entry of the app name in the settings.py. Regards, Amitesh Sahay91-750 797 8619 On Thursday, 21 February, 2019, 1:41:10 PM IST, bhushan patil wrote: I am running this command python manage.py makemigrations polls but it is showing that

Re:

2019-02-21 Thread pradam
Hi, Have you ever referred Django Documentation? Link to refer: https://docs.djangoproject.com/en/2.1/intro/tutorial02/ On Thu, 21 Feb, 2019, 1:41 PM bhushan patil I am running this command python manage.py makemigrations polls but it is > showing that django.db.models has no attribute

Re:

2019-02-21 Thread Gilbeesh Kosma
use models.Model in place of models.model ,uppercase M On Feb 21, 2019 1:40 PM, "bhushan patil" wrote: > I am running this command python manage.py makemigrations polls but it is > showing that django.db.models has no attribute model.please help me with > this. > > -- > You received this message

[no subject]

2019-02-21 Thread bhushan patil
I am running the command 'python manage.py makemigrations polls' but it's showing that django.db.models has no attribute model. -- 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,