jrief / django-shop

A Django based shop system
http://www.django-shop.org
BSD 3-Clause "New" or "Revised" License
32 stars 12 forks source link

Set 'en' as the admin language for demo projects #68

Open khchine5 opened 8 years ago

khchine5 commented 8 years ago

Hi @jrief , It would be more easy for a starter to get a demo project with 'en' as the admin language. The part of fixtures file to fix in the file 'myshop.json'

{
  "model": "cms.usersettings",
  "pk": 1,
  "fields": {
    "user": [
      "admin"
    ],
    //"language": "de", 
      "language": "en", 
    "clipboard": 1
  }
},

Thanks.

jrief commented 7 years ago

Ups, oversaw this. Is this still true?

khchine5 commented 7 years ago

Hi @jrief , Yes , it is still there. File : myshop.json ,line 99

rfleschenberg commented 7 years ago

@khchine5 can you send a PR against awesto/django-shop?

khchine5 commented 7 years ago

Yes sure @rfleschenberg , but the fixtures used by 'initialize_shop_demo' is not available in awesto/django-shop. That is why I haven't create a PR.

rfleschenberg commented 7 years ago

Ah, I see! Where is that management command defined? I can't find it.

rfleschenberg commented 7 years ago

Never mind, I got it.

jrief commented 7 years ago

Stupid me! Didn't notice, when I created that fixture. Thanks for reporting.

@rfleschenberg could you please review PR #463. With that fix I'd like to release 0.9.4