Andréas, that's exactly what I want, but it does not show up in swagger or
api docs. Another question I am still is whether by good practices and or
convensions the restful pattern should I always pass the id in the url to
detail, or can I do what I am wanting, anyone would know?
Em terça-feira
Andreas,
You have described perfectly what I need:
To use the admin backend as my frontend.
Do you have any sample code you could share with me?
On Saturday, August 4, 2018 at 11:34:07 AM UTC-4, Andréas Kühne wrote:
>
> Hi,
>
> You could use the admin backend as the frontend for your applicati
Hi again,
I really don't understand why you need to downgrade anything? If you are
running your app with an old version of the code that isn't migrated - just
work on that code (you have the code tagged and stored in a git repository
I hope?). When you are working on an older codebase - you will n
Sorry for making requirement complex. My requirement is like I have
released first version of my app. After that we have change some table
attribute and also added some new tables in my app DB(sqlite). In this
sitution I need both side compatibility(Downgrade and upgrade) for my
application.
On S
Hi,
You could use the admin backend as the frontend for your application. I
have released an application that works that way.
However, if you just want to use the layout, you can look into the
contrib.admin package and there you will find all the templates, css and js
required for the admin appli
Hi,
I don't really understand your requirements here. If you take a backup you
will get the database exactly how the database is now. If you have made any
changes to the database layout, you would be able to run migrations again
to upgrade the database to the latest again. For this you can use the
I have a django based application. In this we are providing backup and
restore facility for user. DB which we are using is sqlite. So please
suggest me how to migrate database accordingly - both downgrade and upgrade
for sqlite.
--
You received this message because you are subscribed to the G
Call me boring but I like the simple elegance of the django admin panel.
I was wondering is there a way use this layout thorough my project.
All the tutorials I have read so far shows how to build your own navbar
using the various third-party bootstraps and css.
But none shows how use the built-i
Apologies. The code I posted is actually correct and well functioning.
The reason that the results looked wrong was that the data handled by the
code was faulty.
In my research, I found another way to do the trick:
contracts = (Project.objects.values('stage')
Sorry, but there is no traceback. The function simply posts this message ;
"pure
virtual method called" in file geometry.py it crashes on line 475
capi.destroy_geom(self.ptr)
Furthermore, for me this happens in ubuntu. I do not have access to my
system till coming Tuesday, but if you need any
Dear Django users.
I'm trying to do the sums of the product of two columns ('contract_sum' and
'probability', decimal fields), grouping by a third column, 'stage' (a
choice variable).
I'm also reporting the grouped sums of one of the single columns
('contract_sum')
The single column works just
Ok.
First of all you don't really need to get both. What you need to do is get
the PurchaseOrder connected to the url - then you get the items from the
purchase order.
So what I would do is the following:
First make sure that you hvae the right url definition, something like this
would work:
pa
*Thanks *Sir this work
On Thu, Aug 2, 2018 at 1:39 AM, Matthew Pava wrote:
> You’re adding an attribute (is_staff) to the form and then saving the
> form, but no method is doing anything with that attribute.
>
> When you save a model form, it will return the instance of the model. You
> can t
13 matches
Mail list logo