If you have added an app via pip install and added it to settings.py, you
should not create an app with startapp - and you should definitely not
create an app with the same name as a pip installed django app. That will
result in conflicts.
In this case startapp shouldn't be used no.
Regards,
And
Your assign should be
new_material_review.material = material_instance
instead of
new_material_review.material_instance = material_instance
that you have now
On Sat, Mar 9, 2019 at 4:29 AM Chukwunonso Nwankpa
wrote:
> Good Morning.
> I'm new to django and currently using the framework for a
https://docs.djangoproject.com/en/2.1/intro/tutorial02/
Activating Models
After editing polls/.models.py, and updating mysite/
settings.py/installed_apps
With ‘polls.apps.PollsConfig’, and changing the time_zone,
Ran the python manage.py makemigrations polls
Results: " App 'polls' could not be fou
Hi all,
I am new to working with signals and triggers, what I am trying to
accomplish is:
1. When a new user registers, I have another model to deal with
subscriptions.
2. I want to create an instance for that subscription model with all the
default values based on the new user.
3.
Thank you Vijay Khemlani
You are indeed a life saver.
Chukwunonso Nwankpa
Plot 13 Benson .O. Nwanjoku Street,
Thinkers Corner,
Emene, Enugu,
Enugu State,
South East Nigeria.
> On Mar 9, 2019, at 1:54 PM, Vijay Khemlani wrote:
>
> Your assign should be
>
> new_material_review.material = materi
Excellent summary - should be posted for posterity on a blog or something.
I don't know enough about wsgi internals to add to this, but would have
been nice to have this to read the first time I set up a server, back in
the day.
./s
On Tuesday, February 26, 2019 at 10:26:43 AM UTC-8, Tal wrot
Hello, I'm still starting with django. And I have a problem with the
creation of the project, I write: "django-admin startproject DjangoTest" in
the cmd of my windows and it tells me that django-admin is not an internal
command. While I typed the same code this morning in the cmd and it worked.
Try check if django is setup properly in environment variables.
Maybe that will help
On Sat, 09 Mar 2019, 20:14 Ando Rakotomanana,
wrote:
> Hello, I'm still starting with django. And I have a problem with the
> creation of the project, I write: "django-admin startproject DjangoTest" in
> the c
Are you in the virtual environment ?? I guess you might be trying from
outside the virtual environment
On Sat 9 Mar, 2019, 11:53 PM Cathbert Mutaurwa, wrote:
> Try check if django is setup properly in environment variables.
>
>
> Maybe that will help
>
> On Sat, 09 Mar 2019, 20:14 Ando Rakotoman
Hi,
Good Morning
I am trying to display information and a search from three different models
on a page.
I could render the search effectively but the challenge is that the list is
not being populated.
I could only return 1 model on the page plus the search
If I access the template through 127.
Make sure your virtual environments are set up well. Also make sure your
running that command from the folder where your manage.py file is...
On Mar 9, 2019 7:12 PM, "Ando Rakotomanana"
wrote:
>
> Hello, I'm still starting with django. And I have a problem with the
creation of the project, I writ
I have a model, say ModelA, and on the admin add page of this model i have
recieved some parameter based on which i sonetimes want to let the user add
a object of the model and sometime wants to redirect to another page.
How do I do that?
--
You received this message because you are subscribed to
12 matches
Mail list logo