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)

Raphael Das Gupta
@das-g
What code editor do you use?
If it's listed as one of the options in the Git installation, you can simply elect that as the editor for Git, too.
goruchor
@goruchor
I generally use google colab since I don't do anything fancy, but I chose VS Code. Thanks.
Achuta Prasanth
@achutaprasanth
After , I made changes to the models file and I tried to migrate it but , it says that "os" is not specified. What to do now ?
Achuta Prasanth
@achutaprasanth
I resolved the previous issue
goruchor
@goruchor
I included db.sqlite3 in .gitignore file before committing, but my pythonanywhere site still shows local posts and local superusers. What could have gone wrong?
Nikhil John
@nikhiljohn10
Delete your myvenv folder and db.sqlite3 file and push again.
goruchor
@goruchor
delete from where?
github?
Nikhil John
@nikhiljohn10
Delete on your pc. The commit the changes and push. Once u does that, you need install venv again and install requirements.txt again to continue developing on your pc.
Now you can rerun the commands in pythonanywhere bash
But add --nuke option to pa_autoconfigure_django.py command to remove old files.
goruchor
@goruchor
Thanks for the help! Is it a common issue for .gitignore to not work as intended? Because I am pretty sure I followed the tutorial to a tee.
matrixbot
@matrixbot
das-g If used correctly, I've never heard of .gitignore not working. But it's easy to make a typo or other small mistake that keeps it from working as intended, so that happens quite often, even to experienced developers.
Alex
@Aktor007
Hello everyone, I'm looking for versioning with files in Django. New upload file v.1 and after processing the automatic update to v.2. The update from
version 1 to version 2 should change via upload. I would bee nicet to get some information about this problem.
thx
matrixbot
@matrixbot

SERP!C0 > <@gitter_aktor007:matrix.org> Hello everyone, I'm looking for versioning with files in Django. New upload file v.1 and after processing the automatic update to v.2. The update from

version 1 to version 2 should change via upload. I would bee nicet to get some information about this problem.
thx

  • r u checking that the uploaded file with metadata or simply by filename?
  • r u checking if the newly uploaded file was in fact changed?
SERP!C0 * - r u checking that the uploaded file with metadata or simply by filename?
  • r u checking if the newly uploaded file was in fact changed?
    In any case, I'd assume you'd just checking filenames. In that case, just append a string suffix to the filename to keep track of file versions. You refer to the string to show the version number on the UI. Needless to say, you don't reveal the suffix to the user.
    You can also use dB but i think it's an overkill for your purposes.

SERP!C0 * - r u checking that uploaded file with metadata or simply by filename?

  • r u checking if the newly uploaded file was in fact changed?
    In any case, I'd assume you'd just checking filenames. In that case, just append a string suffix to the filename to keep track of file versions. You refer to the string to show the version number on the UI. Needless to say, you don't reveal the suffix to the user.

You can also use dB but i think it's an overkill for your purposes.

SERP!C0 * - r u checking that uploaded file with metadata or simply by filename?

  • r u checking if the newly uploaded file was in fact changed?
    In any case, I'd assume u're just checking filenames. In that case, just append a string suffix to the filename to keep track of file versions. You refer to the string to show the version number on the UI. Needless to say, you don't reveal the suffix to the user.

You can also use dB but i think it's an overkill for your purposes.

matrixbot
@matrixbot
SERP!C0 Alex (Gitter): or if you're using any major cloud provider, they usually have a versioning feature you can just rely on.
Oleksii Kaliniushko
@kaliniushko
Hello Everybody! I'm from Ukraine. I am doing the Djangogirls tutorial at home. I have a problem. My blog doesn't render static files on pythonanywhere.com. Locally everything works fine for me! I've been trying to solve this problem for a week now. Tried all sorts of options for setting the STATIC_ROOT and STATIC_DIRS variables that I saw on stackoverflow.com. My current setting.py looks like this: https://pastebin.com/AQFF1qDA. My Static files mapping on pythonanywhere's "Web" page looks like this: / static / /home/kaliniushko/kaliniushko.pythonanywhere.com/static. With these settings in settings.py, pythonanywhere console shows me an error "Found another file with the destination path 'admin/img/LICENSE'. It will be ignored since only the first encountered file is collected. If this is
not what you want, make sure every static file has a unique path.", when I tried $ python manage.py collectstatic.
Cananybody help please.
goterps2018
@goterps2018
HI - I am doing the tutorial. For some reason, my admin page works. but I am not able to the the blog. Only the rocket ship. I've reviewed the code. Can't figure out where I went wrong. can anyone help? Thanks!
nadeen_07
@nadeenwaleed
Hi! I’m from California. I was wondering something about remote workshops: I am a high school junior and my advisor and I would like to work with y’all to get a remote workshop for our Girls in STEM club. Would that be possible? I wasn’t sure because when I was checking the application to request it said something about it being a non-profit.
Raphael Das Gupta
@das-g

Do you mean https://djangogirls.org/organize/ @nadeenwaleed ? There it says

Events are always non-profit and free for participants.

So if I understand correctly, the organizer doesn't have to be a non-profit, they just aren't allowed to make profit from the workshops and the event has to be free for participants.

Raphael Das Gupta
@das-g
The question might be whether you (or your school or STEM club) actually want to organize a full Django Girls event, where females also from outside the school / the club can apply to participate. If not, you can simply use the Django Girls tutorial and other materials provided by Django Girls as you see fit to organize a school-internal or club-internal workshop. For the latter, you don't need to go through the event registration/approval process, but you can't advertise your event as an official Django Girls workshop without approval. (Which, for an internal event, shouldn't matter. Simply call it a "programming workshop based on Django Girls" or something, if you want. That should be fine.
Doreen2002
@Doreen2002
I am from Zambia , how can I become part of this community
Tejaswi
@Tejaswigilla
How to add posts as I'm having seperate databases at my local machine and site?
Tejaswi
@Tejaswigilla
I have added some posts using django admin but they are not displaying on site
Raphael Das Gupta
@das-g
@Tejaswigilla Add posts for your online site on https://tejaswigilla.pythonanywhere.com/admin
Tejaswi
@Tejaswigilla
I have tried that but they are not appearing on site
They are saving in admin but they are not appearing on view site
Raphael Das Gupta
@das-g
Ah, make sure that:
  • the posts have a publication date
  • this publication date isn't in the future
Regan Grafton
@reganzane
Hi, sorry if this is the wrong place to ask this. I've had a site built in Django. I'm wanting the developers to add a blog which is optimised for SEO. They want me to tell them what SEO I want, but it's outside of my expertise. Is there any off the shelf blog code that is SEO friendly and can be easily customised to suit my site? Thanks Regan
Raphael Das Gupta
@das-g

Hi @reganzane

While some here might have that expertise or knowledge (I don't), this is IMO indeed the wrong place for that topic. This channel is about the Django Girls tutorial and the Django Girls workshops, and while the topic of the tutorial is building a simple blog application with Django, neither SEO nor ready-made Django blog applications are part of it. Whether it'd be on-topic at e.g. https://gitter.im/django/django, I don't know. You might be more likely to get useful answers at https://webmasters.stackexchange.com/, but be prepared to explain what you want to achieve by SEO.

If you don't know what you want to achieve by it, it's probably safe to say that you don't need any SEO beyond making your site safe, secure and sane:

  • serve via HTTPS
  • make the site easy and obvious to navigate
  • make the site well-accessible independent of user (dis)abilities
  • use sensible (human-comprehensible) URL paths
  • don't let the site and or those advertising on it distribute any malware
Maximiliano Fernandez
@melvinsoft
Hi! I hope this is the right place to share our jobs ads. In Appsembler we're looking for two Junior developers, most of our stack is Python/Django, I think it could be people interested in the positions here!
Are you a engineer looking to work on something meaningful? Join the fully distributed team at Appsembler (we're in 7 countries!) and help us build the future of education.
You'll also get to work with some amazingly supportive teammates and get hands-on experience using cool open source technologies like #Docker, #Django, #ReactJS and #OpenedX.
Check out careers page at https://www.appsembler.com/about/careers/
Yves Laporte
@Ivlaporte
After completing: "https://tutorial.djangogirls.org/fr/html/" I just found how to complete git pull on pythonanywhere's bash: if I am yet on the right repertory, I can avoid change to the page with the "reload" button. Just write the following command: $ touch . ( . is meaning actual repertoire)
yadvend
@yadvend
Not working against the command python mange.py migrate some random things are getting displayed on cmd prompt pls help stuck there quite a long unable to find bug
Auganbay Rymkhan
@Augan93
Hi, Do you want to download Programming books for Free?
Join Telegram Channel: https://t.me/progerbooks
Agbogba
@Agbogba
Hello everyone, I am having an issue when deploying my first django application. I run the command "pa_autoconfigure_django.py --python=3.8" and everything seems to be ok but my web page leads me to a page not found error. Can someone help me please ?
SRADHA SAJEEV
@sradha-08
Hi, I am having an issue when I am creating a virtualenv after executing python -m venv myvenv command I can't see my virtualenv created as it is not prefixed in the next line.Kindly requesting for someones help.
Pragati Verma
@PragatiVerma18

Hi everyone!
I have prepared a collection of essential notes from the book Django for APIs by Will Vincent for easy learning and revision. Do check it out here: https://github.com/PragatiVerma18/Django-For-APIs

Dev Articles:

Nikhil John
@nikhiljohn10
@PragatiVerma18 Nice work 👍🏼
Pragati Verma
@PragatiVerma18

@PragatiVerma18 Nice work 👍🏼

Thanks a lot @nikhiljohn10 !

Read more about various types of user authentication methods here: https://dev.to/pragativerma18/django-for-apis-notes-part-iii-1bo1
bahaahabil
@bahaahabil
Hi
vaibhavk1985
@vaibhavk1985
I have developed my application in django-rest app for api. I want to handle 10k request concurrently or simultaneous request.
What will be the aws configuration need
Which application server will use uwsgi or gunicorn
_
Touch here to type a chat message.
I am facing performance issues,
I am using : gunicorn, nginx, aws RSS, aws ELB, django, django rest ,postgresql
*Aws RSS: AWS RDS
Rogelio1997
@Rogelio1997
Hello! I am on the deploy part of the tutorial, after inputting the command pa_autoconfigure_django.py --python=3.8 https://github.com/<your-github-username>/my-first-blog.git (with my user name) I get "File "/home/roger97qro/.local/lib/python3.8/site-packages/pythonanywhere/django_project.py", line 57, in find_django_files
raise SanityException('Could not find your settings.py')
pythonanywhere.exceptions.SanityException: Could not find your settings.py" at the end of execution. If i go to my github repository there's the settings.py file so I don't know what to do, I am stuck at this part. When I try the next command I get "20:22 ~ $ python manage.py createsuperuser
python: can't open file 'manage.py': [Errno 2] No such file or directory" I would appreciate if someone could help me solve this.