i am getting this error when ever i try to run localhost/admin
--
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 Vijay,
Can you be more specific?
What invalid section do you get?
And what is the data you are using in choice field?
Regards,
Constantine C.
> On Dec 23, 2017, at 2:39 PM, vijaysundeep wrote:
>
> Hi Everyone,
>
> I am trying to pass current user as request.user.
Are you sure your polls/models.py is correct?
I assume you are at „Part 2: Playing with the API“. Here is what your
polls/models.py should look like at this point of the tutorial:
https://github.com/consideratecode/django-tutorial-step-by-step/blob/2.0/2.4/mysite/polls/models.py
My guess is that
I am trying to make a customer database (name, address, etc) and I need to
be able to add new customers, edit customer info, delete customers, and
search for them through name and phone number (and possibly more). When I
enter the admin site and select my app, I have all of those fields given
I've made anything by site tutorial, just repeat all steps and code. And
when I wrote this:
>>> from polls.models import Question, Choice
# Make sure our __str__() addition worked.>>> Question.objects.all()]>
# Django provides a rich database lookup API that's entirely driven by# keyword
Hi.
It would be helpful to know what changes you're after.
Admin is designed to be datacentric view to your models. Trying to make
admin something more is quite a job.
That's why there exists generic class based views. They allow to create
much more flexible views and incorporate for example
did you create a virtualenv for the project? you shouldn't pip install
stuff in the system python.
can you import django using the python console?
On Sun, Dec 24, 2017 at 2:22 AM, Jack
wrote:
> Hi, i've installed on my ubuntu 16.04 LTS python3.6 and django but
On Dec 23, 2017 5:36 PM, "Malik Rumi" wrote:
FIRST, James, let me say how much I *greatly* appreciate you hanging in
there and trying to help me.
No worries.
2nd, as to your two points about the html:
a. This template, serp_list.html, is identical to ktab_list.html,
8 matches
Mail list logo