return to right page after delete
This commit is contained in:
@@ -5,6 +5,15 @@ import colorsys
|
||||
|
||||
lbstoN = 4.44822
|
||||
|
||||
def absolute(request):
|
||||
urls = {
|
||||
'ABSOLUTE_ROOT': request.build_absolute_uri('/')[:-1].strip("/"),
|
||||
'ABSOLUTE_ROOT_URL': request.build_absolute_uri('/').strip("/"),
|
||||
'PATH':request.build_absolute_uri(),
|
||||
}
|
||||
|
||||
return urls
|
||||
|
||||
def trcolors(r1,g1,b1,r2,g2,b2):
|
||||
r1 = r1/255.
|
||||
r2 = r2/255.
|
||||
|
||||
Reference in New Issue
Block a user