This repository has been archived by the owner on Feb 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* #558 Rm redundant pdd subtask * #669 Draft for a Section model code * #669 Handle code duplication with PDD subtask * #669 Create sections migrations * #584 Rm closed manually pdd subtask * #669 Create section page with test * #669 Apply linter rules * #669 Create subtasks for section feature * #699 Apply linter rules * #699 Review#1 fixes. Section: get_min_price, rm slug, tests subtask * #699 Review#1 fixes. Rm search, fix tests setUp, subtask seo_texts exploring
- Loading branch information
Showing
8 changed files
with
305 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.20 on 2019-06-24 05:56 | ||
from __future__ import unicode_literals | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('pages', '0018_page_template_increase_name_size'), | ||
('stroyprombeton', '0025_series_slug'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='Section', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('name', models.CharField(db_index=True, max_length=1000, unique=True, verbose_name='name')), | ||
('page', models.OneToOneField(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='stroyprombeton_section', to='pages.Page')), | ||
], | ||
options={ | ||
'verbose_name': 'Section', | ||
'verbose_name_plural': 'Sections', | ||
}, | ||
), | ||
migrations.CreateModel( | ||
name='SeriesPage', | ||
fields=[ | ||
], | ||
options={ | ||
'verbose_name': 'serie', | ||
'verbose_name_plural': 'series', | ||
'abstract': False, | ||
'proxy': True, | ||
'indexes': [], | ||
}, | ||
bases=('pages.modelpage',), | ||
), | ||
migrations.AddField( | ||
model_name='product', | ||
name='section', | ||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='products', to='stroyprombeton.Section', verbose_name='section'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
dde6256
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
510-d7a1e1df
disappeared fromstroyprombeton/models.py
, that's why I closed #558. Please, remember that the puzzle was not necessarily removed in this particular commit. Maybe it happened earlier, but we discovered this fact only now.dde6256
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
510-b8de40bc
disappeared fromstroyprombeton/models.py
, that's why I closed #559. Please, remember that the puzzle was not necessarily removed in this particular commit. Maybe it happened earlier, but we discovered this fact only now.dde6256
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
570-e576fe87
disappeared fromstroyprombeton/tests/tests_views.py
, that's why I closed #584. Please, remember that the puzzle was not necessarily removed in this particular commit. Maybe it happened earlier, but we discovered this fact only now.dde6256
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
669-02688a32
discovered instroyprombeton/views/catalog.py
and submitted as #701. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.dde6256
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
669-e87026f9
discovered instroyprombeton/management/commands/seo_texts.py
and submitted as #702. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.dde6256
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
669-92706ca5
discovered instroyprombeton/tests/tests_views.py
and submitted as #703. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.dde6256
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
699-0168785b
discovered instroyprombeton/tests/tests_views.py
and submitted as #704. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.dde6256
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
669-7e706acd
discovered instroyprombeton/models.py
and submitted as #705. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.dde6256
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
669-54df6c9d
discovered instroyprombeton/models.py
and submitted as #706. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.dde6256
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
669-d7479e24
discovered instroyprombeton/models.py
and submitted as #707. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.dde6256
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
669-4e4d9868
discovered instroyprombeton/models.py
and submitted as #708. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.dde6256
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
510-fa306f38
discovered instroyprombeton/models.py
and submitted as #709. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.dde6256
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puzzle
669-b068266e
discovered instroyprombeton/models.py
and submitted as #710. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.