archive-fr.com » FR » C » COREDUMP.FR

Total: 368

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • reporter: changeset 122:c065eb704afb
    0100 branch reporter 1 0 changeset 122 c065eb704afb parent 121 5976ebb16ee6 child 123 6d34a7a940f3 even better usability task reporter models py file annotate diff revisions 1 1 a task reporter models py Sat Nov 01 08 55 04 2008 0100 1 2 b task reporter models py Sat Nov 01 08 58 14 2008 0100 1 3 328 6 328 9 1 4 1 5 objects QuerySetManager 1 6 1

    Original URL path: http://vrasneur.coredump.fr/reporter/rev/c065eb704afb (2015-02-06)
    Open archived version from archive


  • reporter: files
    hgignore file revisions annotate rw r r 2008 11 01 08 58 0100 62 AUTHORS file revisions annotate rw r r 2008 11 01 08 58 0100 34520 COPYING file revisions annotate rw r r 2008 11 01 08 58 0100 0 init py file revisions annotate rwxr xr x 2008 11 01 08 58 0100 546 manage py file revisions annotate rw r r 2008 11 01 08 58

    Original URL path: http://vrasneur.coredump.fr/reporter/file/c065eb704afb (2015-02-06)
    Open archived version from archive

  • reporter: changeset 121:5976ebb16ee6
    revisions 1 1 a task reporter admin py Sat Nov 01 08 46 18 2008 0100 1 2 b task reporter admin py Sat Nov 01 08 55 04 2008 0100 1 3 125 6 125 7 1 4 list display SlugModelAdmin list display 1 5 product asker task type 1 6 creation time end time is finished 1 7 list filter product asker task type 1 8 form TaskForm 1 9 inlines CurrentDailyTaskAdmin OtherDailyTaskAdmin 1 10 2 1 a task reporter forms py Sat Nov 01 08 46 18 2008 0100 2 2 b task reporter forms py Sat Nov 01 08 55 04 2008 0100 2 3 37 6 37 7 2 4 2 5 class DisplayWidget forms HiddenInput 2 6 def render self name value attrs None 2 7 we need to send the data anyway so we use a hidden input 2 8 input str super DisplayWidget self render name value attrs attrs 2 9 return mark safe u s s value input str 2 10 3 1 a task reporter models py Sat Nov 01 08 46 18 2008 0100 3 2 b task reporter models py Sat Nov 01 08 55 04 2008 0100

    Original URL path: http://vrasneur.coredump.fr/reporter/rev/5976ebb16ee6 (2015-02-06)
    Open archived version from archive

  • reporter: files
    hgignore file revisions annotate rw r r 2008 11 01 08 55 0100 62 AUTHORS file revisions annotate rw r r 2008 11 01 08 55 0100 34520 COPYING file revisions annotate rw r r 2008 11 01 08 55 0100 0 init py file revisions annotate rwxr xr x 2008 11 01 08 55 0100 546 manage py file revisions annotate rw r r 2008 11 01 08 55

    Original URL path: http://vrasneur.coredump.fr/reporter/file/5976ebb16ee6 (2015-02-06)
    Open archived version from archive

  • reporter: changeset 120:5909d67cfa4b
    extra 0 1 50 formset OtherDailyTaskFormset 1 51 1 52 def get formset self request obj None kwargs 1 53 formset super OtherDailyTaskAdmin self get formset request obj obj kwargs 1 54 formset can delete False 1 55 return formset 1 56 1 57 def formfield for dbfield self db field kwargs 1 58 kwargs form class reporter forms DisplayField 1 59 return db field formfield kwargs 1 60 1 61 class TaskForm SlugModelForm 1 62 def init self args kwargs 1 63 76 23 126 29 1 64 product asker task type 1 65 creation time end time is finished 1 66 form TaskForm 1 67 inlines DailyTaskAdmin 1 68 inlines CurrentDailyTaskAdmin OtherDailyTaskAdmin 1 69 1 70 def save formset self request form formset change 1 71 instances formset save commit False 1 72 for instance in instances 1 73 if isinstance instance DailyTask 1 74 changed daily task 1 75 if instance pk is not None 1 76 daily task DailyTask objects get id instance pk 1 77 if daily task user instance user 1 78 raise PermissionDenied 1 79 new daily task 1 80 elif instance user request user 1 81 raise PermissionDenied 1 82 if instance pk is None 1 83 we need to put the user manually 1 84 instance user request user 1 85 do nothing for other daily tasks owned by other users 1 86 if instance user request user 1 87 continue 1 88 instance save 1 89 formset save m2m 1 90 1 91 def formfield for dbfield self db field kwargs 1 92 if isinstance db field CompletedField 1 93 kwargs widget reporter forms CompletedWidget 1 94 elif isinstance db field EDAField 1 95 kwargs widget reporter forms EDAWidget 1 96 return db field formfield kwargs 1 97 1 98 admin site register Task TaskAdmin 1 99 1 100 class UserProfileAdmin admin StackedInline 2 1 a task reporter forms py Fri Oct 31 14 37 06 2008 0100 2 2 b task reporter forms py Sat Nov 01 08 46 18 2008 0100 2 3 35 6 35 19 2 4 late tuple no tuple tuple late arg iteritems 2 5 started tuple no tuple tuple started arg iteritems 2 6 2 7 class DisplayWidget forms HiddenInput 2 8 def render self name value attrs None 2 9 input str super DisplayWidget self render name value attrs attrs 2 10 return mark safe u s s value input str 2 11 2 12 class DisplayField forms CharField 2 13 def init self args kwargs 2 14 kwargs widget DisplayWidget 2 15 super DisplayField self init args kwargs 2 16 2 17 def clean self value 2 18 return value 2 19 2 20 class LastUpdatedWidget object 2 21 def init instance id self 2 22 self instance id None 2 23 47 7 60 7 2 24 super CompletedWidget self init args kwargs 2 25 self init instance id 2 26 2 27 def render self name value attrs None

    Original URL path: http://vrasneur.coredump.fr/reporter/rev/5909d67cfa4b (2015-02-06)
    Open archived version from archive

  • reporter: files
    hgignore file revisions annotate rw r r 2008 11 01 08 46 0100 62 AUTHORS file revisions annotate rw r r 2008 11 01 08 46 0100 34520 COPYING file revisions annotate rw r r 2008 11 01 08 46 0100 0 init py file revisions annotate rwxr xr x 2008 11 01 08 46 0100 546 manage py file revisions annotate rw r r 2008 11 01 08 46

    Original URL path: http://vrasneur.coredump.fr/reporter/file/5909d67cfa4b (2015-02-06)
    Open archived version from archive

  • reporter: changeset 119:56896b1c1431
    Wed Oct 29 14 42 08 2008 0100 1 2 b task reporter media dateRange js Fri Oct 31 14 37 06 2008 0100 1 3 3 8 3 8 1 4 function previous month start name end name 1 5 1 6 var date new Date 1 7 date setDate 1 1 8 date setMonth date getMonth 1 1 9 date setDate 1 1 10 input name start name

    Original URL path: http://vrasneur.coredump.fr/reporter/rev/56896b1c1431 (2015-02-06)
    Open archived version from archive

  • reporter: files
    hgignore file revisions annotate rw r r 2008 10 31 14 37 0100 62 AUTHORS file revisions annotate rw r r 2008 10 31 14 37 0100 34520 COPYING file revisions annotate rw r r 2008 10 31 14 37 0100 0 init py file revisions annotate rwxr xr x 2008 10 31 14 37 0100 546 manage py file revisions annotate rw r r 2008 10 31 14 37

    Original URL path: http://vrasneur.coredump.fr/reporter/file/56896b1c1431 (2015-02-06)
    Open archived version from archive



  •