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, sen
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
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 model.pl
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 django
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 received
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
>
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 reac
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,
>>
>>
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
(utf8_general_ci,COERCIBLE
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 F
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 django-users+unsubscr...@go
Hello Jacques,
Follow this tutorial
https://www.youtube.com/watch?v=Fc2O3_2kax8&index=1&list=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
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 subs
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 su
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 2
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 t
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 it
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 me
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*, which
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 try
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 th
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 be
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 Dj
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 the
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 o
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 w
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 to
27 matches
Mail list logo