Skip to content

Commit

Permalink
Remove duplicated
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Feb 10, 2023
1 parent 0dc861c commit c3b6da6
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,13 +380,7 @@ Changes to apply
})
```

7. To solve recursive import we required to move `Cache` and `set_common_headers` to an other file,
then you should do the following change in your custom Python views:

-from c2cgeoportal_geoportal.lib.caching import Cache, set_common_headers
+from c2cgeoportal_geoportal.lib.common_headers import Cache, set_common_headers

8. To solve looping dependency we moved the `Cache` and `set_common_headers` function, then you should do
7. To solve looping dependency we moved the `Cache` and `set_common_headers` function, then you should do
in your custom Python views a modification like:

```diff
Expand Down

0 comments on commit c3b6da6

Please sign in to comment.