559Labs/django-dtg-store-manager

View on GitHub

Showing 302 of 302 total issues

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for pfStore
    url(r'^pfstore/$', pfStoreListView.as_view(), name='business_pfstore_list'),
    url(r'^pfstore/create/$', pfStoreCreateView.as_view(),
        name='business_pfstore_create'),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for wpMediaSize
    url(r'^wpmediasize/$', wpMediaSizeListView.as_view(),
        name='business_wpmediasize_list'),
    url(r'^wpmediasize/create/$', wpMediaSizeCreateView.as_view(),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for pfCatalogProduct
    url(r'^pfcatalogproduct/$', pfCatalogProductListView.as_view(),
        name='business_pfcatalogproduct_list'),
    url(r'^pfcatalogproduct/create/$', pfCatalogProductCreateView.as_view(),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for bzCreativeRendering
    url(r'^bzcreativerendering/$', bzCreativeRenderingListView.as_view(),
        name='business_bzcreativerendering_list'),
    url(r'^bzcreativerendering/create/$',
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for bzProduct
    url(r'^bzproduct/$', bzProductListView.as_view(),
        name='business_bzproduct_list'),
    url(r'^bzproduct/create/$', bzProductCreateView.as_view(),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for wooStore
    url(r'^woostore/$', wooStoreListView.as_view(), name='business_woostore_list'),
    url(r'^woostore/create/$', wooStoreCreateView.as_view(),
        name='business_woostore_create'),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for bzBrand
    url(r'^bzbrand/$', bzBrandListView.as_view(), name='business_bzbrand_list'),
    url(r'^bzbrand/create/$', bzBrandCreateView.as_view(),
        name='business_bzbrand_create'),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for wooTerm
    url(r'^wooterm/$', wooTermListView.as_view(), name='business_wooterm_list'),
    url(r'^wooterm/create/$', wooTermCreateView.as_view(),
        name='business_wooterm_create'),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for pfState
    url(r'^pfstate/$', pfStateListView.as_view(), name='business_pfstate_list'),
    url(r'^pfstate/create/$', pfStateCreateView.as_view(),
        name='business_pfstate_create'),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for pfCatalogSize
    url(r'^pfcatalogsize/$', pfCatalogSizeListView.as_view(),
        name='business_pfcatalogsize_list'),
    url(r'^pfcatalogsize/create/$', pfCatalogSizeCreateView.as_view(),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for wooCategory
    url(r'^woocategory/$', wooCategoryListView.as_view(),
        name='business_woocategory_list'),
    url(r'^woocategory/create/$', wooCategoryCreateView.as_view(),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for wooTag
    url(r'^wootag/$', wooTagListView.as_view(), name='business_wootag_list'),
    url(r'^wootag/create/$', wooTagCreateView.as_view(),
        name='business_wootag_create'),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for pfCatalogVariant
    url(r'^pfcatalogvariant/$', pfCatalogVariantListView.as_view(),
        name='business_pfcatalogvariant_list'),
    url(r'^pfcatalogvariant/create/$', pfCatalogVariantCreateView.as_view(),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for bzCreativeLayout
    url(r'^bzcreativelayout/$', bzCreativeLayoutListView.as_view(),
        name='business_bzcreativelayout_list'),
    url(r'^bzcreativelayout/create/$', bzCreativeLayoutCreateView.as_view(),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for wooAttribute
    url(r'^wooattribute/$', wooAttributeListView.as_view(),
        name='business_wooattribute_list'),
    url(r'^wooattribute/create/$', wooAttributeCreateView.as_view(),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for bzProductVariant
    url(r'^bzproductvariant/$', bzProductVariantListView.as_view(),
        name='business_bzproductvariant_list'),
    url(r'^bzproductvariant/create/$', bzProductVariantCreateView.as_view(),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for wooProduct
    url(r'^wooproduct/$', wooProductListView.as_view(),
        name='business_wooproduct_list'),
    url(r'^wooproduct/create/$', wooProductCreateView.as_view(),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for pfCatalogColor
    url(r'^pfcatalogcolor/$', pfCatalogColorListView.as_view(),
        name='business_pfcatalogcolor_list'),
    url(r'^pfcatalogcolor/create/$', pfCatalogColorCreateView.as_view(),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for wpMedia
    url(r'^wpmedia/$', wpMediaListView.as_view(), name='business_wpmedia_list'),
    url(r'^wpmedia/create/$', wpMediaCreateView.as_view(),
        name='business_wpmedia_create'),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565
src/business/urls.py on lines 568..577

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 34 locations. Consider refactoring.
Open

urlpatterns += (
    # urls for pfPrintFile
    url(r'^pfprintfile/$', pfPrintFileListView.as_view(),
        name='business_pfprintfile_list'),
    url(r'^pfprintfile/create/$', pfPrintFileCreateView.as_view(),
Severity: Major
Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
src/business/urls.py on lines 83..90
src/business/urls.py on lines 118..124
src/business/urls.py on lines 204..212
src/business/urls.py on lines 215..224
src/business/urls.py on lines 227..236
src/business/urls.py on lines 239..248
src/business/urls.py on lines 251..260
src/business/urls.py on lines 263..272
src/business/urls.py on lines 275..284
src/business/urls.py on lines 287..296
src/business/urls.py on lines 299..308
src/business/urls.py on lines 311..319
src/business/urls.py on lines 322..331
src/business/urls.py on lines 334..343
src/business/urls.py on lines 346..354
src/business/urls.py on lines 357..365
src/business/urls.py on lines 368..376
src/business/urls.py on lines 379..388
src/business/urls.py on lines 391..399
src/business/urls.py on lines 402..411
src/business/urls.py on lines 414..423
src/business/urls.py on lines 426..434
src/business/urls.py on lines 437..446
src/business/urls.py on lines 449..458
src/business/urls.py on lines 461..470
src/business/urls.py on lines 473..482
src/business/urls.py on lines 485..494
src/business/urls.py on lines 497..506
src/business/urls.py on lines 509..518
src/business/urls.py on lines 521..530
src/business/urls.py on lines 533..542
src/business/urls.py on lines 545..554
src/business/urls.py on lines 557..565

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 64.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Severity
Category
Status
Source
Language