Hello!
As seen here on the documentation for Applications configuration for app
users, you can provide a custom app configuration for one of the third
party apps you are using on your project.
https://docs.djangoproject.com/en/2.0/ref/applications/#for-application-users
I believe this would so
Hello!
On your case, as stated on the official doc, you should just create a
method on the model you want to display the ManyToMany field on the
list_display that maybe returns the list of items from the ManyToMany
field. Django avoids using this as it could be a potential overhead as you
will
Hello!
Ordinary staff users on the main django admin module are just standard
django users that can access the admin site.
Setting the has_add_permission, has_change_permission and
has_delete_permission via the ModelAdmin should be done to customize the
permissions for specific object instance
This is done so that when you run the script manage.py (that runs django
commands) the module django imported by the script knows which project
settings to use.
If you do not provide this, django will not recognize the apps you are
developing, and will just recognize the default apps it comes b
There is no really definitive approach to handle this, and you could do it
either way.
Either option works, but for a philosofical point of view, if there is no
significant difference between the user types, the first approach I tend to
believe is the most logical one.
However, as a optimal ap
The problem you are having is described by the error message.
The email you are using and configured on the
settings.py to be the DEFAULT_FROM_EMAIL is not being recognized by the
email server. Maybe you lack the configuration of that email address on the
email provider?
Either way, on the DE
Hello Asif!
To use a method from one app in another app would require you to import the
app's module (using from - import statements), allowing the interpreter to
know that the function from one scope is available on another.
In a serious note, I recommend that you first familiarize yourself wi
Hello
Dwelve into the official Django Tutorial and learn it's basic, then go on
to trying to create the app you want!
https://docs.djangoproject.com/en/2.0/intro/tutorial01/
Hope it helps.
On Monday, May 21, 2018 at 4:20:37 AM UTC-3, subhani shaik wrote:
>
> Hi group numbers...
>
> How to crea
able somewhere out there on
the internet that provides a backend with Temporal Tables.
Hope it helps!
*[]'s*
*Daniel Germano Travieso*
*Engenharia da Computação Turma: 013*
*Unicamp*
On Mon, May 21, 2018 at 4:13 PM, Nirali Supe
wrote:
> Hello,
>
> I need to create Temporal table in
are intended to access, you should access
"/boutique/".
To advance further I recommend you to check the documentation on URL
patterns!
Hope it helps.
*[]'s*
*Daniel Germano Travieso*
*Engenharia da Computação Turma: 013*
*Unicamp*
On Mon, May 21, 2018 at 5:55 PM, Trist
the
.create method of the Serializer.
Hope it helps!
*[]'s*
*Daniel Germano Travieso*
*Engenharia da Computação Turma: 013*
*Unicamp*
On Mon, May 21, 2018 at 12:59 PM, thiagarajan.kpt wrote:
> Hi,
>
> I have two models (Patients and PatientAddress). I want to create a new
> p
site is to choose location and language, but it is a
personal thing and your way can and will work fine!
Hope it helps!
*[]'s*
*Daniel Germano Travieso*
*Engenharia da Computação Turma: 013*
*Unicamp*
On Tue, May 22, 2018 at 3:31 AM, Carlo Ascani wrote:
> Hi all,
>
> I'
migrations fail.
To test everything, you can backup you DB somewhere and make the migrations
again from scratch.
Hope it helps!
*[]'s*
*Daniel Germano Travieso*
*Engenharia da Computação Turma: 013*
*Unicamp*
On Wed, May 23, 2018 at 10:56 AM, Melvyn Sopacua
wrote:
> On woensdag 23 mei 2018
Hello!
You should probably use the LineString from django.contrib.gis.geos to
store Geo objects on the database
Hope it helps.
*[]'s*
*Daniel Germano Travieso*
*Engenharia da Computação Turma: 013*
*Unicamp*
On Wed, May 23, 2018 at 11:54 AM, Majid Hojati wrote:
> Hi,
> I tried t
;mydatabaseuser',
'PASSWORD': 'mypassword',
'HOST': '127.0.0.1',
'PORT': '5432',
}}
Hope it helps
*[]'s*
*Daniel Germano Travieso*
*Engenharia da Computação Turma: 013*
*Unicamp*
On Sun
Hello Carlo,
I don't see what you mean by change the current site at runtime?
If you mean change the site the user is accessing, just forward the user
via the URL to the proper site you mean to reach.
Hope it helps!
*[]'s*
*Daniel Germano Travieso*
*Engenharia da Computação
/conda
Hope it helps.
*[]'s*
*Daniel Germano Travieso*
*Engenharia da Computação Turma: 013*
*Unicamp*
On Thu, May 31, 2018 at 8:24 AM, Rafael E. Ferrero wrote:
> please use some kind of virtual environment... in linux its virtualenvs
>
>
> Rafael E. Ferrero
>
> 2018-05-31
t
too.
Hope it helps!
*[]'s*
*Daniel Germano Travieso*
*Engenharia da Computação Turma: 013*
*Unicamp*
On Thu, May 31, 2018 at 11:14 AM, João Paulo
wrote:
>
> Hey guys,
>
> I´m using SQLite and trying to calculate the followers difference by day
>
> This is my
Hello Mark.
You can just override the Model Admin for your model and insert an Inline
Form for example.
Check the documentation for customizing the model admin!
Hope it helps!
On Mon, Jun 4, 2018, 18:02 Mark Phillips wrote:
> I have a Document model that uploads an image. I have a DocumentMe
Hello!
This type of video rendering and processing should be done by a python
module that can handle this workload.
For example, you can use OpenCV, a C++ computer vision module that has a
python hooks version, so you can upload your video via django the usual way
an use the OpenCV to process the
Hello!
As you see on the documentation (
https://docs.djangoproject.com/en/2.0/topics/class-based-views/) for the
class based views, any arguments you pass to the class based view
.as_view() method will override attributes of the class based view, so if
you set MyCView.as_view(model=Foo) is the sa
and my so far not too great Python understandign)
> it is not clear to me whether "Model" is simply the name of the model, or
> if it is the entire Model object instance.
>
>
> thanks again, Mikkel
>
>
> onsdag den 6. juni 2018 kl. 15.01.05 UTC+2 skrev Daniel Germano Tr
You probably need to set up your static files on Django.
Take a look at the documentation for static file serving.
On Wed, Jun 6, 2018, 11:59 Avitab Ayan Sarmah wrote:
> what is this means? and hw do i resolve this error? Please comment.And
> also my image is not open in my webpage when i have
e in the form of a
>>> simple array called "fields".
>>> I don't want UpdateView to make a form for all columns of the model's
>>> data table, just the fields from my custom array in the Model objects.
>>>
>>> My problem is simply: How
legroups.com
> <https://groups.google.com/d/msgid/django-users/3aa17d90-3959-4b16-8c14-93c966fb45d0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
[]'s
Daniel Germano Travieso
Engenharia de Computação U
Hello Dylan
You will never see a user password as a raw text on django (only maybe if
you intercept the request the user creation form sent to the django view
that handles the creation)
User passwords are stored as their appropriate hash, and you can just use
the add user admin page to add a new
spares them of trying to parse/remember what the
construction of escaped characters are.
But I could be wrong as I do not work on the belly of Django development.
*[]'s*
Daniel Germano Travieso
-BEGIN PGP PUBLIC KEY BLOCK-
mQINBF1hSUIBEAC56ve8/8fAt55s+PHuolumg8zvjqk0cpo36DXkntP1fql
27 matches
Mail list logo