Actions after logout

2012-12-27 Thread 4 The good Life we work
Hallo,

I would like to delete certain data + login data after logout.

I have a process in place and would like to delete the
data inserted if the process is not followed to the last step.

Thanks for your support,
Michael

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



light Box with image slider

2012-12-21 Thread 4 The good Life we work
Hallo,

I have a small area (400x400px) on the website I want to use to
implement a slider in a zoomBox [1].
If a user clicks on it, it should enlarge (light box) and start a slider
animation.

Currently that box is filles with a "Chunks" by the django-chunks.
Since I'm new to Django, what is the django way to implement such?

1. http://slideshow.triptracker.net/index.html

Thanks for any support,
Michael


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Theming Django with Diazo/XSLT

2012-12-18 Thread 4 The good Life we work
Hallo Ariel,

thank you for letting me know.
I've looked at the site and will give it a try.

Thanks,
Michael

On 12/18/2012 11:03 AM, Ariel Calzada wrote:
> Hi Michael!
>
> Django doesn't use approach of DIAZO/XSLT theming by default. You can
> use diazo in an indepedently way (
> WSGI http://docs.diazo.org/en/latest/quickstart.html ).
>
> Regards,
> ARIEL
>
> 2012/12/18 4 The good Life we work <4thegdl...@googlemail.com
> <mailto:4thegdl...@googlemail.com>>
>
> Hallo Derek,
>
> thank for your reply. I was thinking about the templates.
> The admin area is fine for now, though it could be changed through
> diazo too if needed.
>
> Thanks,
> Michael
>
> On Tue 18 Dec 2012 08:28:12 AM CET, Derek wrote:
> > You do not say which part of Django you need to theme.  Assuming its
> > the admin, I suggest you look at Grappelli[1] as they have done
> > extensive work in  theming. You could either provide your own
> CSS and
> > override any templates as needed; or start from scratch but with
> their
> > approach/code as an example.
> >
> > Derek
>     >
>     > [1] https://django-grappelli.readthedocs.org/en/latest/index.html
> >
> > On Friday, 14 December 2012 23:55:31 UTC+2, 4 The good Life we
> work wrote:
> >
> > Hallo,
> >
> > I'm used to theme Plone with Diazo/ <http://www.diazo.org/>XSLT.
> > <http://www.diazo.org/>
> > Is there any tutorial for Django?
> >
> > Thanks,
> > Michael
> >
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To post to this group, send email to django-users@googlegroups.com
> <mailto:django-users@googlegroups.com>.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com
> <mailto:django-users%2bunsubscr...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
>
>
> -- 
> La Salvaje Esperanza
>
> Éramos dioses y nos volvieron esclavos.
> Éramos hijos del sol y nos consolaron
> con medallas de lata.
> Éramos poetas y nos pusieron a recitar
> oraciones pordioseras.
> Éramos felices y nos civilizaron.
> Quién refrescará la memoria de la tribu.
> Quién revivirá nuestros dioses.
> Que la salvaje esperanza siempre sea tuya, querida alma inamansable.
>
> -Gonzalo Arango-
>
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Theming Django with Diazo/XSLT

2012-12-18 Thread 4 The good Life we work
Hallo Derek,

thank for your reply. I was thinking about the templates.
The admin area is fine for now, though it could be changed through 
diazo too if needed.

Thanks,
Michael

On Tue 18 Dec 2012 08:28:12 AM CET, Derek wrote:
> You do not say which part of Django you need to theme.  Assuming its
> the admin, I suggest you look at Grappelli[1] as they have done
> extensive work in  theming. You could either provide your own CSS and
> override any templates as needed; or start from scratch but with their
> approach/code as an example.
>
> Derek
>
> [1] https://django-grappelli.readthedocs.org/en/latest/index.html
>
> On Friday, 14 December 2012 23:55:31 UTC+2, 4 The good Life we work wrote:
>
> Hallo,
>
> I'm used to theme Plone with Diazo/ <http://www.diazo.org/>XSLT.
> <http://www.diazo.org/>
> Is there any tutorial for Django?
>
> Thanks,
> Michael
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Theming Django with Diazo/XSLT

2012-12-15 Thread 4 The good Life we work
Hallo,

I'm used to theme Plone with Diazo/ XSLT.

Is there any tutorial for Django?

Thanks,
Michael

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Helptext forms forms

2012-12-14 Thread 4 The good Life we work
Hallo Chris,

thank you for the good explanation.
I'm then afread that I have to create my own widget for this. Can you 
support me on this?

Thanks,
Tony Michael

On Fri 14 Dec 2012 08:45:40 PM CET, Chris Cogdon wrote:
> If you're designing your own HTML (eg: this is not in the admin) then
> there's nothing stopping you rendering the help text any way you want. Eg:
>
>
> {{ form.field1 }} onclick="showpopuphelp('{{ form.field1.help_text }}');return false;" />
>
> (that might not exactly work as written, but using it to give you the
> gist of things... my preference would be to put the text into a  class="fieldhelp> and use jQuery magic to wrap it up)
>
> If you were doing this a lot, and would prefer to stick with using {{
> form.as_table }} (for example) and rely on the default HTML generators
> for each field, then you'll need to create your own widgets, probably
> inheriting from the standard widgets, and override the html generators.
>
>
> If you wanted to change how the fields were being displayed in the
> ADMIN, then that will require overriding the field widgets in the
> ModelAdmin's with your own widgets created the same way above.
>
>
>
> On Friday, December 14, 2012 5:16:49 AM UTC-8, 4 The good Life we work
> wrote:
>
> Hallo,
> I'm wondering if there is a better way to have helptext informs than
> help_text which is displayed under the form.
> Something like FIEDL ? while ? is a button I can click on and it
> displays the helptext.
>
> I'll welcome an example.
>
> Thanks,
> Tony
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Send out E-mail at given time

2012-12-14 Thread 4 The good Life we work
Hi William,

thanks :). I'll look at celery.

Thanks,
Michael
On 12/14/2012 04:08 PM, william ratcliff wrote:
> Welcome aboard!   Please check out django-celery.   I believe it will
> solve your problem for doing an activity at a specified time.
>
> Good luck!
>
>
> On Fri, Dec 14, 2012 at 8:37 AM, 4 The good Life we work
> <4thegdl...@googlemail.com <mailto:4thegdl...@googlemail.com>> wrote:
>
> Hallo,
>
> I'm building my first Django 1.4.2 Application with stores
> contract data.
> I would like to get a reminder E-mail when the set remainder date
> in the
> DB is reached.
>
> Let's say I've choosen the 15th Dez 2012 as reminder date.
> Then by 1AM the system should send out an E-mail to the user.
> E-mail is
> saved under user-data.
>
> Thx for any support,
> Tony
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To post to this group, send email to django-users@googlegroups.com
> <mailto:django-users@googlegroups.com>.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com
> <mailto:django-users%2bunsubscr...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Send out E-mail at given time

2012-12-14 Thread 4 The good Life we work
Hallo Javier,

this sound good. I'll try this.

Thank you,
Michael

On Fri 14 Dec 2012 07:58:26 PM CET, Javier Guerra Giraldez wrote:
> On Fri, Dec 14, 2012 at 8:37 AM, 4 The good Life we work
> <4thegdl...@googlemail.com> wrote:
>> Let's say I've choosen the 15th Dez 2012 as reminder date.
>> Then by 1AM the system should send out an E-mail to the user. E-mail is
>> saved under user-data.
>
> - create a 'custom management command'
> (https://docs.djangoproject.com/en/1.4/howto/custom-management-commands/).
>  something like "manage.py send-emails" that checks the database and
> sends any programmed email.
>
> - add a cron job that periodically calls that command.  (typically
> once an hour or a couple of times a day)
>
> --
> Javier
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Send out E-mail at given time

2012-12-14 Thread 4 The good Life we work
Hallo,

I'm building my first Django 1.4.2 Application with stores contract data.
I would like to get a reminder E-mail when the set remainder date in the
DB is reached.

Let's say I've choosen the 15th Dez 2012 as reminder date.
Then by 1AM the system should send out an E-mail to the user. E-mail is
saved under user-data.

Thx for any support,
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Helptext forms forms

2012-12-14 Thread 4 The good Life we work
Hallo,
I'm wondering if there is a better way to have helptext informs than
help_text which is displayed under the form.
Something like FIEDL ? while ? is a button I can click on and it
displays the helptext.

I'll welcome an example.

Thanks,
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.