Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
django-newsbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WebU
shared
django-newsbox
Commits
b087afac
Commit
b087afac
authored
1 year ago
by
Dylann Cordel
Browse files
Options
Downloads
Patches
Plain Diff
fix prob merge
parent
7740be58
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
newsbox/models.py
+3
-4
3 additions, 4 deletions
newsbox/models.py
with
3 additions
and
4 deletions
newsbox/models.py
+
3
−
4
View file @
b087afac
...
@@ -18,15 +18,14 @@ except ImportError:
...
@@ -18,15 +18,14 @@ except ImportError:
# Django imports
# Django imports
from
django.db
import
models
from
django.db
import
models
<<<<<<<
Updated
upstream
from
django.utils
import
six
try
:
try
:
# Django imports
from
django.utils.encoding
import
python_2_unicode_compatible
from
django.utils.encoding
import
python_2_unicode_compatible
except
ImportError
:
except
ImportError
:
def
python_2_unicode_compatible
(
f
):
def
python_2_unicode_compatible
(
f
):
return
f
return
f
=======
# Django imports
>>>>>>>
Stashed
changes
from
django.utils.functional
import
lazy
from
django.utils.functional
import
lazy
from
django.utils.safestring
import
mark_safe
from
django.utils.safestring
import
mark_safe
from
django.utils.timezone
import
now
from
django.utils.timezone
import
now
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment