What do you have so far. show some code or explain what you have so far
On Monday, April 22, 2019 at 1:40:06 PM UTC+2, Shereyne Casimsiman wrote:
>
> I am current making a project and django is very new to me, I've been
> following tutorials but it did not answer my concern..
> My project is to
I am current making a project and django is very new to me, I've been
following tutorials but it did not answer my concern..
My project is to build a quiz that will have an audio as the question . I
already installed the django-audiofield and successfully added it into the
admin but my problem
Please forget about the persisting data part.
The problem is that inside the parent form i dont have access to the
related data and the formsets new related data is validated after the
parent models data.
Inside the formset every related data model does not have access to the
other related
I still don't understand why you want to persist unvalidated data to the db
then? if a user requests the data in mid-update, that's something that can
be handled with transaction locks on the db. so when that happens, the
request will wait till the locks are released before executing the db
Am Sonntag, 26. August 2018 18:29:49 UTC+2 schrieb Jason:
>
> I think we're missing a few things. how fast does this query with updated
> values execute after the form submits?
>
a neglectable amount of milliseconds
> if you need to return the value back to the view, can't you do some
I think we're missing a few things. how fast does this query with updated
values execute after the form submits? if you need to return the value back
to the view, can't you do some sort of post-save retrieval and form
populate?
--
You received this message because you are subscribed to the
Am Sonntag, 26. August 2018 18:07:25 UTC+2 schrieb Jason:
>
> why would you want to persist unvalidated data to your db?
>
>>
>>
Well, i dont necessarily have to, but i somehow need to be able to perform
a query with all updated data taken into account. The easiest solution i
came up with is
why would you want to persist unvalidated data to your db?
On Sunday, August 26, 2018 at 10:42:28 AM UTC-4, Andy wrote:
>
> I want to execute a check after the related data from the admin has been
> saved, but the default clean methods get executed before the formsets are
> saved. Where could i
I want to execute a check after the related data from the admin has been
saved, but the default clean methods get executed before the formsets are
saved. Where could i place my check to have access to a full version of
what has been changed on the admin page?
--
You received this message
l be displayed in html like this
>>
>> Insitutue hour of operation : Monday 9.00 - 17.00 (Monday will be
>> hardcoded,Time will be filled by user)
>> **Tuesday 9.00 - 17.00
>> (Monday will be hardcoded,Time will be
day, tuesday they are all hardcoded as
> requirement but i don't want that to be hardcoded.
> Also i am using a django forms to display this.
>
>
> How can i design this form field as well in models or What should be the
> type of this field both in models and forms such that weekdays
Nikhil Verma wrote:
How can i design this form field as well in models or What should be
the type of this field both in models and forms such that weekdays
remain dynamic(i can simply generate them from loop) and the user can
fill the time and when he hits submit it will get saved.
I would
On 29-6-2012 11:01, Nikhil Verma wrote:
> Yes it is the count of the hours.They will enter in the following manner "-
>
> Monday : 0900-1800, Tuesday and so on ... This will be entered by the user
> who is filling the form.
>
> Now the text Moday(weekdays can be hardcoded but i personally don't
o on
# Note the weekdays like monday, tuesday they are all hardcoded
as requirement but i don't want that to be hardcoded.
Also i am using a django forms to display this.
How can i design this form field as well in models or What should
be the type of this field both in models and forms such that
week
and so on
>
> # Note the weekdays like monday, tuesday they are all hardcoded as
> requirement but i don't want that to be hardcoded.
> Also i am using a django forms to display this.
>
>
> How can i design this form field as well in models or What sho
in models or What should
be the type of this field both in models and forms such that
weekdays remain dynamic(i can simply generate them from loop) and
the user can fill the time and when he hits submit it will get
saved.
Thanks in advance.
--
Regards
Nikhil Verma
+91-958-273-3156
--
You
as
requirement but i don't want that to be hardcoded.
Also i am using a django forms to display this.
How can i design this form field as well in models or What should be the
type of this field both in models and forms such that weekdays remain
dynamic(i can simply generate them from loop
Nevermind, I was missing something terribly basic and just needed to
stop looking at it for a bit to realize how to combine it.
On May 22, 5:08 pm, Jonathan wrote:
> I am sure this is some very easy and simple concept I am just not
> grasping. I have two views which are
I am sure this is some very easy and simple concept I am just not
grasping. I have two views which are very similar. Both take the
same variable and iterate the applicable data. I am trying to get
them to render on the same template. However, when I create one as a
template tag and try to
On Wednesday 12 December 2007, l5x wrote:
> form_for_instance? Check:
> http://www.djangoproject.com/documentation/newforms/#generating-forms-for
>-models
That's only in the SVN version, but if we have to move from .96 to SVN to
get it then so be it.
--
Kirk Strauser
signature.asc
De
form_for_instance? Check:
http://www.djangoproject.com/documentation/newforms/#generating-forms-for-models
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
21 matches
Mail list logo