As far as I understand the question -- you may be looking for that part of
the documentation:
https://docs.djangoproject.com/en/2.1/faq/admin/#how-do-i-limit-admin-access-so-that-objects-can-only-be-edited-by-the-users-who-created-them
W dniu niedziela, 16 września 2018 18:39:31 UTC+2
This is how I do it:
1. drop the database
2. create the database.
4. make sure the user identified in your settings.py can still access the
database
5. delete the migrations
6. run all migrations
Your new db should be populated with all the initial tables.
Take a look at this,
Hi Raju,
On 16/09/2018 18.30, Raju wrote:
I want to update that in update view. i want else No one can update it without
the author. How to do it?
What's your update view? What do you mean by author? Please provide some
more context or even better, some code if you expect anyone to be
I tried to fix mysql problems in my database by dropping tables. When that
didnt work, I dropped the database.
I then recreated the database, and tried to run makemigrations. But I am
getting errors about missing tables:
joel@hp:~/myappointments$ python3 manage.py makemigrations
Traceback (most
I want to update that in update view. i want else No one can update it
without the author. How to do it?
--
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
I was having the same issue, as mentioned above, it was a mere indentation
problem, make sure the def __str__ is properly indented inside of the class
and not at the same level.
On Friday, July 1, 2016 at 5:52:12 PM UTC+8, gary719_list1 wrote:
>
> Hi all;
>
> I am working on the official
I am stuck at overriding the default editable bootstrap values in Django
framework javascript html page
In my webpage, it coded as below
$.fn.editable.defaults.url = "{% url 'page1' model.PATH %}";
Now my requirement is, When I click on a button, it check the
views.py(page1, which is
am stuck at overriding the default editable bootstrap values in Django
framework javascript HTML page
In my webpage, it coded as below
$.fn.editable.defaults.url = "{% url 'page1' model.PATH %}";
Now my requirement is, When I click on a button, it check the
views.py(page1, which is
Hi,
I followed the channels documentation, you can check from here:
https://channels.readthedocs.io/en/latest/tutorial/part_1.html
After completing this part, in every page refresh, thread count is
increasing at top 23.
16 Eylül 2018 Pazar 06:05:02 UTC+3 tarihinde vs704263 yazdı:
>
> In post
My software classifies chemical hazards according to intrinsic physical
properties. This requires accessing large quantities of reference data
imported from jurisdictions around the world. The tests demand correct
classification for known properties.
There are dozens of different
10 matches
Mail list logo