guest icon indicating copy to clipboard operation
guest copied to clipboard

发布会签到系统

Results 9 guest issues
Sort by recently updated
recently updated
newest added

views.py中的event_manage函数的Event.objects.all()提示错误。 Unresolved attribute reference 'objects' for class 'Event' less... (Ctrl+F1) Inspection info: This inspection detects names that should resolve but don't. Due to dynamic dispatch and duck typing, this is...

ERROR: test_aes_interface (__main__.AESTest) test aes interface ---------------------------------------------------------------------- Traceback (most recent call last): File "G:/PycharmProjects/Django/guest-master/tests/interface_AES_test.py", line 39, in test_aes_interface result = r.json() File "D:\Anaconda3\lib\site-packages\requests\models.py", line 892, in json return complexjson.loads(self.text, **kwargs)...

第90页。 In guest/sign/templates/sign_index.html, lost {% csrf_token%} cause the exception. 很感谢您写的书,很详实,功能都能重现。 能提供你的电子邮箱么?我在网上找了很久,都没有找到你的邮箱。 我的电子邮箱是: [email protected]

```cpp if server_sign != client_sign: return "sign fail" else: return "sign sucess" ``` 格式有问题,if应该有空格。

https://github.com/defnngj/guest/blob/master/sign/views_if_sec.py ```cpp auth_parts = base64.b64decode(auth[1]).decode('utf-8').partition(':') ``` 应该是 ```cpp auth_parts = base64.b64decode(auth[1]).decode('utf-8').split(':') ```

event_manage.html中的{% load bootstrap3 %}直接在页面显示了{% load bootstrap3 %}

代码中的错误码,与书上的不一致,实际运行需要修改