Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 16 2015 16:59
    olasitarska commented #362
  • May 16 2015 16:59

    olasitarska on master

    Making post_detail.html more co… Merge pull request #362 from ve… (compare)

  • May 16 2015 16:59
    olasitarska closed #362
  • May 16 2015 16:57
    kvbik commented #362
  • May 16 2015 16:51
    veuu opened #362
  • May 16 2015 15:20
    hjwp commented #361
  • May 16 2015 15:16
    hjwp synchronize #361
  • May 16 2015 15:15
    hjwp synchronize #361
  • May 16 2015 15:12
    bmispelon commented #361
  • May 16 2015 15:08
    hjwp opened #361
  • May 16 2015 14:58
    bmispelon opened #360
  • May 16 2015 13:15
    bmispelon commented #359
  • May 16 2015 13:15

    bmispelon on master

    Provide alternative runserver c… Merge pull request #359 from Al… (compare)

  • May 16 2015 13:15
    bmispelon closed #359
  • May 16 2015 13:14
    keimlink commented #359
  • May 16 2015 13:13
    olasitarska commented #359
  • May 16 2015 13:09
    bmispelon commented #359
  • May 16 2015 11:53
    Almad opened #359
  • May 15 2015 20:00
    bmispelon commented #358
  • May 15 2015 19:59

    bmispelon on master

    fixing broken github link Merge pull request #358 from gs… (compare)

Laetice
@Claetice_twitter
is it right ?
Laetice
@Claetice_twitter
I tried to do python manage.py migrate I have this error
image.png
Asko_Dev
@Asko-Dev
yea comment out the original view you had
you don’t need to run migrations we havent changed the model
just save it (after commenting out your def essai_view) and runserver
just leave in the class EssaiListView and don’t forget to do all the imports
I mentioned above
Laetice
@Claetice_twitter
it changes nothing but it noticed that my for loop does not work, because nothing appears
image.png
Asko_Dev
@Asko-Dev
the div has to be indentated
Laetice
@Claetice_twitter
I did as you said but it is not working, I don't know what else to do ...
Asko_Dev
@Asko-Dev
damn … can u just deploy the thing to github and send me the link? I am gonna need to rly look at it
Laetice
@Claetice_twitter
okay I will create it
Laetice
@Claetice_twitter
Asko_Dev
@Asko-Dev
@Claetice_twitter Hi so it seems like in your template login.html the indentation is wrong, I see the {% block content %} is too much to the right, messing up the forloop you have down there
Screenshot 2020-03-24 at 02.42.03.png
body should be all the way to the left, and it should not be ended right after, the <body> should carry inside the entire {% block content %}
and only after {% endblock %} you do </body>
I am using bootstrapping so never mind the code, but notice the indentation, it all has to be precise
Screenshot 2020-03-24 at 02.45.09.png
Laetice
@Claetice_twitter
image.png
I did as you said and I removed all the style and body
but it is not working
Asko_Dev
@Asko-Dev
@Claetice_twitter just {% endblock %} at the end
without content
SATVIK G S
@sleepincoder312
@Asko-Dev Thanks a lot its working now!
лавджангл
@luvjungle_twitter
Hi all! I am going through django forms tutorial. After I completed part for post_edit, I get the following error: Reverse for 'post_edit' with keyword arguments '{'pk': ''}' not found. 1 pattern(s) tried: ['post/(?P<pk>[0-9]+)/edit/$']
please help
prashant724
@prashant724
Guys i have some serious problem from the past few weeks. As i made a site using django from this tutorial : https://tutorial.djangogirls.org/en/ . The site is all working fine on local host , but on pythonanywhere site , it is just displaying header. Someone just told me to upload a db.sqlite3 into a pythonanywhere database. Can someone please tell me how to do that.
image.png
it is just displaying like this on pythonanywhere site , where as
image.png
the local site is properly displaying data.
prashant724
@prashant724
@Asko-Dev Can you or anyone else can help me with this ?
Raphael Das Gupta
@das-g
@prashant724 Instead of uploading the local database, create some blog posts on your pythonanywhere deployment, as explained in section Check out your site!. If you already did do that, make sure these blog posts have a published_date in the past, or they won't show up on your blog.
szszabolcs
@szszabolcs
Hi. I have just finished the Django tutorial which was super but still I have some difference compare your result. The edit icon and the date shouldbe next to the title but I see the below result
image.png
The style is coming from bootstrap so I tried to change it but it is not working. Can you please help what went wrong?
Thank you so much for your help and time.
szszabolcs
@szszabolcs
After the tutorial I able to use the learnt settings but how can I create simlar web apps what I can make on desktop with tkinter or how can I present a matpotlib chart on web? This knowledge would be so useful for me.
Raphael Das Gupta
@das-g

Hi. I have just finished the Django tutorial which was super but still I have some difference compare your result. The edit icon and the date shouldbe next to the title but I see the below result

If I look at the blog/templates/blog/post_detail.html content in the Edit form section of the "Django forms" chapter, your screenshot looks what one would expect. The screenshot in the tutorial is probably wrong or outdated.

The <a class="btn btn-default" href="{% url 'post_edit' pk=post.pk %}"><span class="glyphicon glyphicon-pencil"></span></a> part is outside the <div /> element for the date, so the button will be on a new line.

how can I create simlar web apps what I can make on desktop with tkinter

That's not so easy, as the web has different UI concepts than desktop applications.

Raphael Das Gupta
@das-g

how can I present a matpotlib chart on web?

For static plots, see the matplotlib FAQ.

If you want interactivity, you'll probably need something like mpld3.

szszabolcs
@szszabolcs
Thank you so much Raphael. I will try mpld3. Yes I know it is not easy, lot of search and learning .I will continue the learning of Django. I suppose there should be procedures which result simlar app on web what I can write on desktop.
ozlemasabakar
@ozlemasabakar
image.png
i've got an error like this. What should i do?
Md.Moshiur Rahman
@mhridoy
Thanks, DjangoGirls Team. For their tutorial, I have created my own website : http://54.210.96.139/ . I want to join Django girls team.
Laetice
@Claetice_twitter
I started the project again and now it works, thank you @Asko-Dev