Hi,
Check how actions work in the admin interface. You should be able to create
something that works the same by clicking on a button. See here:
https://docs.djangoproject.com/en/1.9/ref/contrib/admin/actions/
The main point is that if you do a http get, you should show the
confirmation page,
在 2013年5月8日星期三 UTC+8上午9:04:51,Radek Wojcik写道:
>
> Thanks I'll stick to simple JavaScript here.
>
I also come around the similar question !My js didn't work! I want see you
js code!Thanks !
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
I want to make a confirmation before executing the objectaction when click
the objectaction button ...I have tried to write a js to do that ,but it
doesn't work..how could I make it?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
On Tue, Jan 19, 2016 at 09:56:49AM +1100, sum abiut wrote:
> Hi Michal,
>
>
> here is my template.html, i believe it has all the required java script,
> Yes the origin template was copy past from this template.
Hi Sum,
I asked for the rendered output HTML, not the original template. But
mostly
Page not found (404)Request Method:GETRequest URL:
http://127.0.0.1:8000/category1/Raised by:blog.views.view_post
No Movies matches the given query.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
> my task is to create on main page of my web site two list one list for my
> post and second list categories titles which belong my post. i create that
> and work fine,and i create post details connect and again work fine. but i
> cant to work category details if i want to see list from my
Hi Michal,
here is my template.html, i believe it has all the required java script,
Yes the origin template was copy past from this template.
RBV Registry dasboard
On Tue, Jan 19, 2016 at 08:57:38AM +1100, sum abiut wrote:
> Thank heaps for your help. I have made the changes, still datepicker is not
> showing on the datefields.
>
> Cheers
That's unfortunate – could you perhaps post the HTML output? Does it
contain the required JavaScript?
That template
Thank heaps for your help. I have made the changes, still datepicker is not
showing on the datefields.
Cheers
On Tue, Jan 19, 2016 at 8:37 AM, Michal Petrucha <
michal.petru...@konk.org> wrote:
> On Tue, Jan 19, 2016 at 08:28:00AM +1100, sum abiut wrote:
> > Yes i want to have the date
On Tue, Jan 19, 2016 at 08:28:00AM +1100, sum abiut wrote:
> Yes i want to have the date picker widget on both DateFields. The date
> picker does not appear on both datefields. i have made changes, but still
> date picker is not showing
> widgets = {
> 'Value_date':
Yes i want to have the date picker widget on both DateFields. The date
picker does not appear on both datefields. i have made changes, but still
date picker is not showing
widgets = {
'Value_date': forms.DateInput(attrs={'class': 'datepicker'}),
'Done_Date':
my task is to create on main page of my web site two list one list for my
post and second list categories titles which belong my post. i create that
and work fine,and i create post details connect and again work fine. but i
cant to work category details if i want to see list from my post
On Mon, Jan 18, 2016 at 04:25:59AM -0800, Brutus Schraiber wrote:
> Am Samstag, 16. Januar 2016 22:23:06 UTC+1 schrieb Vijay Khemlani:
> >
> > At least to me it doesn't make a lot of sense to define new models in your
> > tests, but I also don't know the particular problem you are solving.
> >
>
On Mon, Jan 18, 2016 at 1:03 AM, sum abiut wrote:
> Hi,
> i am having some trouble with my date picker. I probably missing someting,
> the form fields are displaying fine, but some how the datepicker is no
> displaying. probably something to do with my jquery. Please help
> [
Am Samstag, 16. Januar 2016 22:23:06 UTC+1 schrieb Vijay Khemlani:
>
> At least to me it doesn't make a lot of sense to define new models in your
> tests, but I also don't know the particular problem you are solving.
>
I have an app, that defines a couple of *abstract models* and *mixins* in
Am Samstag, 16. Januar 2016 22:23:06 UTC+1 schrieb Vijay Khemlani:
>
> At least to me it doesn't make a lot of sense to define new models in your
> tests, but I also don't know the particular problem you are solving.
>
I have an app, that defines a couple of *abstract models* and *mixins* in
Environment:
Request Method: GET
Request URL: http://127.0.0.1:8000/artists/form
Django Version: 1.8.7
Python Version: 2.7.11
Installed Applications:
('django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
Am trying to create forms using models but i cant view forms because of
ModelForm has no model class specified.
--
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
Thanks Andrea I'm gonna investigate this !!!
Rafael E. Ferrero
2016-01-18 9:02 GMT-03:00 Andreas Kuhne :
> Hi Rafael,
>
> I would use a plugin for django admin that creates an autocomplete field
> (django-selectable works). Then when the user chooses something in
Hi Rafael,
I would use a plugin for django admin that creates an autocomplete field
(django-selectable works). Then when the user chooses something in the
autocomplete list, I would populate the other fields via ajax with the
values that you need. That way you don'ẗ need a foreign key field (even
Hello everybody,
I'm gonna try to express my use case and hope you can help me to achieve
this objective because i can't figure it out how i can resolve it.
1) I have a model of Products, with a lot of data for description, and
other stuff.
(Let me say, ID, Short Description, Long
>
> A second batch of tests?
>
> I am unsure if I understood you: Do you mean new tests, or running the same
> tests again, with a different settings file?
>
I meant the latter. Sorry for not being clear.
>
> If the first: write new tests: How should these tests be different from
> the existing
Thanks for your reply..
Subclassing the widget won't help because the widget has no knowledge about
its label. I'd gladly override the form render method if I could find out
where that would need to be but the source link
You could also try:
https://django-import-export.readthedocs.org/en/latest/
On Wednesday, 13 January 2016 16:30:04 UTC+2, girija sameera wrote:
>
> Hello,
> I am a Django beginner working on a web application wherein I am
> required to provide back-end support. I am expected to take an
A second batch of tests?
I am unsure if I understood you: Do you mean new tests, or running the same
tests again, with a different settings file?
If the first: write new tests: How should these tests be different from the
existing tests?
If the second: Why not run the test with the settings
On Mon, Jan 18, 2016 at 12:03:00PM +1100, sum abiut wrote:
> Hi,
> i am having some trouble with my date picker. I probably missing someting,
> the form fields are displaying fine, but some how the datepicker is no
> displaying. probably something to do with my jquery. Please help
Could you
26 matches
Mail list logo