lp:~critica-dev/critica-engine/unique_together

Created by Gilles Fabio and last modified
Get this branch:
bzr branch lp:~critica-dev/critica-engine/unique_together
Members of Criti@ Dev can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Criti@ Dev
Project:
Critic@ Engine
Status:
Development

Recent revisions

102. By Bruno Bord <bruno@p-bruno>

testings

101. By Bruno Bord <bruno@p-bruno>

first draft for the integrity control. Based on the form.clean()
method. Not very efficient, the method just checks if the position
is not already taken, but with some restrictions

* you can change a position to "None"
* you can change a position from "None" to P1.

but you can't:
* swap P1 => P2 and P2 => P1 in the same move.

100. By Bruno Bord <bruno@p-bruno>

there were "epicurien" and "voyages" exceptions. Now fixed

99. By Bruno Bord <bruno@p-bruno>

simple better than complex. now we create them "on the fly"

98. By Bruno Bord <bruno@p-bruno>

beginngin issue admin refactor.
* post-save are now in the model save redefine.
* we're using the settings defined in the dictionary

97. By Bruno Bord <bruno@p-bruno>

slight refactor. Dictionaries are prettier

96. By Bruno Bord <bruno@p-bruno>

one position for each pre-defined slug. tests added

95. By Bruno Bord <bruno@p-bruno>

little cleanup, no effect. still broken from my POV

94. By Bruno Bord <bruno@p-bruno>

this fixture breaks on my dev environment. Will be back when it's better

93. By Gilles Fabio

Added unique_together meta

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers