Take those fields out as a foreign key and use that foreign key as inline
in this admin.
On Wed, 23 Jan, 2019, 4:14 AM Alexandr Bulgakov Hello All!
>
> I need help(
>
>
> There is a class, it has 2 fields. I need to add an add button to display
> these fields again when required.
> models.py:
>
>
post is a queryset and it doesn't have comment_text attribute.
{% for single_post in post %}
{{single_post.comment_text}}
On Tue, 22 Jan, 2019, 7:54 PM in your html use
> {{post}} instead of the .comment added
>
> --
> You received this message because you are subscribed to the Google Groups
> "D
Student.objects.filter(section__iexact="a",
department=1,year=2019).order_by("name")
On Sun, 3 Feb, 2019, 7:32 PM Mohan Goud django
>
>
>
> On Sun, Feb 3, 2019 at 7:30 PM Birol Demirtaş
> wrote:
>
>> Django ? Or ?
>>
>> 3 Şub 2019 Paz, saat 16:59 tarihinde Mohan Goud <
>> kathi.mohang...@gmail.c
Can you give an example.
On Sun, 3 Feb, 2019, 7:49 PM Mohan Goud here the problem is, i can't give sectionname, dept and year directly. It
> has to do it for all sections in the database. can u help me how to do this.
>
>
>
> On Sun, Feb 3, 2019 at 7:41 PM Shashank Singh
Override the save() of the child?
On Sun, 10 Feb, 2019, 7:04 PM Nick Emery I am trying to wrap up my first app using Django (specifically Django
> Rest Framework which may change the save behavior), but have run into an
> issue that I haven't been able to solve for about 10 hours now.
>
> I am tr
t; On Sunday, February 10, 2019 at 8:37:54 AM UTC-5, Shashank Singh wrote:
>>
>> Override the save() of the child?
>>
>> On Sun, 10 Feb, 2019, 7:04 PM Nick Emery >
>>> I am trying to wrap up my first app using Django (specifically Django
>>> Rest Framework whic
And how?
On Sun, 10 Feb, 2019, 9:23 PM Shashank Singh When do you create child objects??
>
> On Sun, 10 Feb, 2019, 9:17 PM Nick Emery
>> Tried this too but save() never actually gets called on the child (it
>> seems that the foreign key field of the child is updated at the dat
Wagtail
On Mon, 25 Feb, 2019, 8:44 PM Suresh Kannan, wrote:
> Hello everyone,
>
> I am relatively new to Django. I am looking for a package where a client
> can edit the front end of the Django app.
> Say for example the client wants to change the typo/contact details in the
> web app in the GUI
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
OR
from django.db.models import Q
news_list =
LeagueNews.objects.filter(Q(publication_date__lte=timezone.now)|Q(league_name='english')).order_by('-publication_date')[:10]
AND
news_list = LeagueNews.objects.filter(publication_date__lte=timezone.now,
league_name='english').order_by('-publication_dat
Get the data in the current screen before opening the popup or hit a ajax
request to the server to get the said data.
On Tue, 9 Apr, 2019, 8:32 PM sairanganadh Narayana,
wrote:
> I am trying to run model.objects.filter(id=2) through javascript and show
> results in popup. I am unable to find the
One way could be make a custom read only field to show it in current value
in days and take a custom field and on save_model take its value as days
multiply it with 24 and save it in model's field.
On Wed, May 8, 2019, 7:05 AM Joe Reitman wrote:
> Hi Tim,
>
> There is a 'Best Practices' guide fo
Run server with command ./manage.py runserver 0:8000. 0 here tells that any
one on the same network can access the project's urls like this. Suppose
your laptop's ip is 10.0.0.156 so from your phone go to
10.0.0.156:8000/admin and you are connected to your django projects. You
must be on the same n
Override fields and add readonly_fields first.
On Mon, 5 Nov, 2018, 11:38 AM Joel Explain. What do you mean move on top of page?
>
> On Mon, 5 Nov, 2018, 2:46 AM Karol Ołtarzewski <2004ka...@gmail.com wrote:
>
>> Good morning guys.
>>
>> I have a problem namely:
>> I have to place readonly_fields
fields = ['a', 'b', 'c']
readonly_fields = ['a', 'b']
A and b will appear before c.
On Mon, 5 Nov, 2018, 8:03 PM Karol Ołtarzewski <2004ka...@gmail.com wrote:
> I want to place normal fields below readonly_fields
>
>
> On Mon, 5 Nov 2018 at 07:08, Joel wrote:
>
>> Explain. What do you mean move
Why not doing it? Where are you stuck?
On Sun, 18 Nov, 2018, 8:02 AM Richard Vo Need to upload an image, manipulate the image through Python Pillow, then
> display it.
>
> Whatever additional information I need to provide, please let me know.
>
> --
> You received this message because you are sub
I am also interested. Is there is anything I can do now?
On Mon, 19 Nov, 2018, 7:04 PM Idowu Tunde Helo you can do public found raising
> In term of ICO which help to get more fund from the puplic
>
> On Sunday, November 18, 2018, Zack Amaral wrote:
>
>> What time are you available today?
>>
>>
Celery + django + rabbitmq + template+ django-hardcopy
https://github.com/loftylabs/django-hardcopy
On Sat, 29 Dec, 2018, 9:17 AM Danny Blaker Great. Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this grou
18 matches
Mail list logo