Remove unneeded print
Accidentally left old debug code in there Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -174,7 +174,6 @@ class PostCreateView(CreateView):
|
|||||||
def get_success_url(self) -> str:
|
def get_success_url(self) -> str:
|
||||||
query = QueryDict(mutable=True)
|
query = QueryDict(mutable=True)
|
||||||
query["next"] = self.get_form().instance.get_absolute_url().split("#")[0]
|
query["next"] = self.get_form().instance.get_absolute_url().split("#")[0]
|
||||||
print(query["next"])
|
|
||||||
return reverse("board:post_success") + "?" + query.urlencode()
|
return reverse("board:post_success") + "?" + query.urlencode()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user