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)

JalanshMunshi
@JalanshMunshi
@das-g
Raphael Das Gupta
@das-g
Hmm ... then I don't know what the issue is. Could a personal firewall be blocking the request?
JalanshMunshi
@JalanshMunshi

I was trying to run it in Bash on Win10. There seems to be a problem with it.

I tried doing it on Linux. It is working fine. Thanks!

Rahimz
@Rahimz
I am deploying the tutorial on the PythonAnywhere and however I run the collectstatic but the css of the weblog does not load. Every things are good in local.
Kevin Cole
@ubuntourist_gitlab
Hi. Is there a "cheat" repo somewhere? I'm having a devil of a time finding a typo (I assume),
and would like to download a pristine copy of the completed beastie, test to make sure I have nothing outside
of the tutorial messing me up, and, if it displays correctly, compare bits and pieces to see where I messed up.
Pitrified
@Pitrified
@ubuntourist_gitlab I just finished the tutorial if you want to look it up: https://github.com/Pitrified/djangogirls-tutorial , there are some small differences in how python code is formatted but it's just aesthetics
I also did a mega-recap of all the useful things covered in the tutorial if that might help
@Rahimz my site refused to update until I tried the reload button under the web tab in PythonAnywhere, but I have no idea if that's actually related to that
Kevin Cole
@ubuntourist_gitlab
@Pitrified As it turns out, there was no error. For some reason, repeated reloads of my local site (as well as stopping and starting the server) were not refreshing the cache, and so, I was not seeing any of my static CSS changes and kept getting 404 errors for blog.css. This morning, after no changes, I tried again, and lo and behold, all is well. Damned if I know what was causing it to bollix up like that yesterday...
Prachi Bajaj
@prachibajaj
Following the tutorial, for the deploy step, all command line operations have to be executed in my virtual environment or out of it ?
matrixbot
@matrixbot
thisisshub gitter_prachibajaj: inside
Prachi Bajaj
@prachibajaj
Why does "git add --all" display the warning: LF will be replaced by CRLF in .idea/workspace.xml. The file will have its original line endings in your working directory
azarshab-saeed
@azarshab-saeed
How cab I bypass login page in django proxy server??
Rahimz
@Rahimz
@Pitrified I've pushed that button and the site works completely but it seems that the css and bootstrap does not work. I check the static folder and all of my css files are there but the PythonAnywhere server does not serve them correctly.
hardingn
@hardingn
Hi, I made a mistake in my .gitignore file (I had ds.sqlite3 not db.sqlite3) so I think my db file was being sent to github. I've made some changes as described in https://tutorial.djangogirls.org/en/django_templates/.
Now when I try and do git pull in pythonanywhere it gives me an error message: error: Your local changes to the following files would be overwritten by merge:
db.sqlite3
Please, commit your changes or stash them before you can merge. How do I fix this?
Kevin Cole
@ubuntourist_gitlab
Suggestion: Add a caveat about deploying too early. I was merrily adding code, then testing locally in the development environment. If everything looked good, I would git commit, git push, git pull at the PythonAnywhere console, and finally, test the "production" version.
This did not go so well when I got to the CSS step. It could not find theblog.css file. It is two pages after the CSS page that it tells you to deploy AND do the ./manage.py collectstatic which fixes the problem.
ItohGo
@ItohGo
This error has occurred.
Class 'Post' has no 'objects' member
mk1237
@mk1237
Hi, I am new for Django. When I run script "manage.py createsuperuser" on pythonanywahre,That has error occurred like "can't open file 'manage.py': [Errno 2] No such file or directory "". How I can fix it ?
khetpalharsh@gmail.com
@khetpalharshgm1_twitter
Hi guys I'm facing an issue regarding pyaudio , not able to install
Aaa
@Aaa25698420_twitter
Hi Guys, I am also new with Django. After installing Python 3.8 on my windows 10, I tried to open Python using the command line (cmd) by typing in Python 3.8 . Unfortunately it doesn't open. What am I doing wrong?
Aaa
@Aaa25698420_twitter
Never mind, I have solved it myself
Aaa
@Aaa25698420_twitter
Hi other question. After creating a superuser I cant log in
I get the message that the site can't be reached
Could anyone help me please?
Aaa
@Aaa25698420_twitter
Problem solved again
A new real issue: https://tutorial.djangogirls.org/en/html/ on this page it is said that I have to create a file (post_list.html)
Before that you have to make 2 directories (templates and blog). I did that with 'mkdir templates' and 'mkdir blog'
But I tried to make a post_list.html file through VIsual studio code
and tried to run the program throug command line and I still don't get the desired result
On this page, you can see what it has to be : https://tutorial.djangogirls.org/en/html/
Someone could please help me?!?
Aaa
@Aaa25698420_twitter
Also solved now yay
Ghost
@ghost~5e2d3e6ad73408ce4fd7cb08
image.png
help me...
Ghost
@ghost~5e2d3e6ad73408ce4fd7cb08
oh! I solved it!!!!
'django.contrib.contenttypes' in INSTALLED_APPS settings.py is duplicated. so I deleted one.
hardingn
@hardingn
@hardingn So in the end I reran the steps in the Deploy tutorial to auto configure pythonanywher, but I used the nuke option discussed here https://www.pythonanywhere.com/forums/topic/12683/ to overwrite what I already had uploaded.
HappyCthulhu
@HappyCthulhu
Can i learn with u? I m a men
Aaa
@Aaa25698420_twitter
Hi, I have completed the tutorial on how to build a mini website (blog), but now I want to add pictures on my blog. Does anyone know how to do it? I have googled it a lot, but I feel like a lot of explanations skip the part where you actually link a photo that is saved in a folder in the project to your website (if somebody knows what I mean). Any help please????
mk1237
@mk1237
@ mk1237 Finally, I found reason why it happened. mostly the issue was comes from version of python.
Arkahm
@Arkahm
@Aaa25698420_twitter now that you have mastered the djangogirls blog site you should check out corey schafers django turorial on youtube. It is a little more in depth on how to do things and has a specific video on photos and such.
Aaa
@Aaa25698420_twitter
@Arkahm Thank you I will look into it!
Aaa
@Aaa25698420_twitter
Guys, Do you know what I have to add to the following file to drop the position of the picture: kleding.jpg? This is how far I got with showing the picture (unfortunately I only know how to display it as a background image)
body{
background-image: url(kleding.jpg) ;
background-repeat: no-repeat;
}
Right now my picture gets located on the top left corner
I want to place it down with 20px or 20cm
Anyone help???