Hi,
Kindly do whatever some told to add in admin.py file above. Thats correct.
After that u can see in admin panel
..
And for heroku what error you are getting plz share screenshot.
I can help you.
On Mon, 19 Aug, 2019, 2:36 AM Gil Obradors, wrote:
> 1.-Plese detail more : "But it not run" ?
1.-Plese detail more : "But it not run" ? Any error? Admin screen withous
the model?
You can try doing with the same with decorator and class:
from django.contrib import admin
@admin.register(Pacientes)
class PacientesAdmin(admin.ModelAdmin)
pass
Share errors, screen, behaveour...
2.- I
Hi Daniel:
I have build a little app in Django, but i have two problems:
1) I can not see the tables in ADMIN, but nevertheless y put in admin.py:
from .models import Pacientes
admin.site.register(Pacientes)
But it not run.
2) I can not upload my project to HEROKU, I've follow all the steps for
Ok thanks is there a way to call all objects, as this is more user friendly
and efficient when potentially editing many object fields?
On Sun, 18 Aug 2019 at 18:05, Daniel Roseman wrote:
> You can't pass *all* the objects to the form. You have to get the specific
> one you want to edit and pass
You can't pass *all* the objects to the form. You have to get the specific one
you want to edit and pass that as the instance.
--
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,
Hi,
New to Django but trying to stick with it.
I have created a model form, which creates ok.
I am trying to edit records. I have the following, but keep getting the
QuerySet object has no attribute '_meta' in the browser.
my views.py
def editbusiness(request):
data =
Hi Salimon,
Thank you for the code and help.
When I update to your code I get the following error in the browser
Exception Type: AttributeError
Exception Value:
'ModelFormOptions' object has no attribute 'concrete_fields'
Im not sure why
my models.py
class
I recommend this:
https://www.udemy.com/the-ultimate-beginners-guide-to-django-django-2-python-web-dev-website/
Django 2.2 & Python | The Ulitmate Web Development Bootcamp.
Good lectures and easy to grasp as you will also get through a python
refresher before you get right into Django.
On
Type it all in one line.like this "*django-admin startproject mysite*"
Your screen shot shows you trying to do things separately.
On Saturday, August 17, 2019 at 10:33:43 PM UTC+2, Naty Mina wrote:
>
> hi, i'm new in django and trying to create my first project
> i followed the
I am deploying a website using Django. There is an application called
'forum', supporting a discussion forum on my website.
The url of the discussion forum is 'XXX.com/forum/roomY'. I want to refresh
a div id = ''chat'', which includes a message list, on this page when users
click a refresh
>
> Hi
>
I would like to start learning Django and can anyone suggest tutorial is
best for beginners.
--
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
guys im facing this error
everything is working good unless i add carousel code copied from
bootstrap4 site
--
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
hey im facing this error can you please help me out from this
everything is goes smoothly unless i add carousel code imoort from bootstrap4
[Mudasir Mian - Chat @
Spike](https://www.spikenow.com/?ref=spike-organic-signature&_ts=4etdn) [4etdn]
--
You received this message because you are
13 matches
Mail list logo