Poprzedni wpis (Code reuse that isn't) | Następny wpis (Eureka!)
Introducing django-confirmation
I'm pleased to announce my first (hopefully) reusable app for Django: django-confirmation. The idea for this app came from my personal need to handle confirming object's creation on one of my sites. I found few apps performing similar tasks, but both are targeting single classes of objects, while I needed more generic approach (I hate this word...) — there are several classes of objects that need to be confirmed separately but using the same mechanism.
The use case for this app is as follows:
- non-registered/not-logged-in user creates an object;
- application sends an email asking user to click (within configurable period of time) on provided link to make the object "active";
- user clicks a link and makes the object "active" or
- key expires after specified amount of time.
The implementation is based on what I found in other apps, specially django-registration and django-email-confirmation, but with added support for confirming generic Django model instances (as long as they can have different activity states, that is).
Etykiety: django en free software / open source programowanie python
Komentarze (4)
#2 sprae skomentował(-a) 18 listopada 2008 o 16:41
Też gratuluję. Dobrze, że się tak dzieje.
#3 Wiktor skomentował(-a) 19 listopada 2008 o 12:50
Fajnie!
Hmm, czy tylko ja przeczytałem ,,dick'' zamiast ,,click''?
#4 jarek skomentował(-a) 19 listopada 2008 o 13:43
Głodnemu na myśli. :)
Skomentujesz?
* oznacza pole wymagane



#1 Konrad skomentował(-a) 18 listopada 2008 o 10:00
I takie podejście mi się podoba;) Zamiast tylko narzekać, że niema takiej,a takiej aplikacji (wcześniejszy post) zrobiłeś aplikację:) Gdyby wszyscy tak robili;)