امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبVote count: 0 In a project I'm working on, I'm separating a lot of bigger files into smaller pieces so they're easier to work with. One specific example is creating class based views from function based views in Django: # app/views/LoginView.py class LoginView(View): ... # urls.py from app.views import LoginView urlpattes = [ # Here, I have to use LoginView twice url(r'^login', LoginView.LoginView.as_view()) ] Above, I have to use LoginView twice when I want to call it, since importing LoginView...
ادامه مطلبVote count: -1 I migrated a website from one server to another server yesterday, the original server was hosted on Godaddy, I didn't have Cpanel access so I used a WP plugin to backup the database. I then proceeded to create a new account within my new server (not on Godaddy), setup a mysql database and user, then imported the backed up database. Perfect... Then i had a few issues with resolving PHPMyAdmin and user passwords so I could actually login. But, finally...I was able to login to WP bac...
ادامه مطلبVote count: 0 Let's be clear, I don't really like WebForms. Which is why I do not wish to spend hours debugging a legacy code base that ran perfectly well on one server (IIS7) and a new one (IIS8). I heard there is this new ClientIDMode, which makes forms and other controls change their IDs or not to something sensible, but I didn't touch it. It seems like the default value has changed (ie is not backwards compatible)? I had a form in a master page that looked like...
ادامه مطلب